FileBrowserServicesCreateComponent Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<FileBrowserComponentCreateResult> CreateComponent( FileBrowserCreateComponentInput info )
The instructions on how to create the component, which include whether or not to create a thumbnail for image asset
{
"info": {
"basePath": "icons",
"thumb": {
"createThumbnail": false,
"width": "100",
"height": "21"
},
"metaData": {
"createComponent": true,
"src": "Images/icons/zBrush.gif",
"fileName": "zBrush.gif",
"alt": "Test",
"keywords": "Test ",
"hspace": "",
"vspace": "",
"align": "",
"border": ""
}
}
}The information of component that was created, include the component page id and thumb nail information for image asset
{
"code": 0,
"error": null,
"message": {
"newComponent": {
"id": "x116",
"thumb": null
}
}
}