FileBrowserServicesGetChildren Method Ingeniux CMS Web Services API

Gets the child folders of a given asset folder

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<FileBrowserTreeNodeInfo[]> GetChildren(
	FileBrowserGetChildrenInput data
)

Parameters

data
Type: FileBrowserGetChildrenInput

The request parameter

Examples

Sample JSON request parameter
JavaScript
{
    "data": {
        "action": "GetChildren",
        "type": "Image",
        "node": {
            "widgetId": "igxdialogs_DialogWrapper_15_Dialog_Image_root",
            "objectId": "",
            "index": 1,
            "isFolder": true,
            "fileType": "Image",
            "relativePath": "Images",
            "rootPath": "Images"
        },
        "tree": {
            "widgetId": "dojo_Tree_0",
            "objectId": ""
        }
    }
}

Return Value

Type: XHRServiceResponseGenericFileBrowserTreeNodeInfo

Array of FileBrowserTreeNodeInfo

JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "objectId": null,
        "widgetId": "Documents~~test",
        "fileType": "File",
        "index": 0,
        "isFolder": false,
        "relativePath": "Documents\/test",
        "rootPath": "Documents",
        "assetPermission": 2,
        "checkedOut": true,
        "childIconSrc": "\/images\/icons\/filebrowser\/folderClose.gif",
        "markedForPub": false,
        "title": "&#160;test"
    }]
}
See Also

Reference