GlobalConfigurationsServicesGetToolbarConfig Method

Ingeniux CMS Web Services API

Retrieves the avialable commands for current user to carry out on the user interface toolbar. Unlike Site Tree Menu config, toolbar command are not just page level commands.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<ToolbarButtonInformation[]> GetToolbarConfig()

Return Value

Type: XHRServiceResponseGenericToolbarButtonInformation
The collection of toolbar command information allowed for current user
Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "name": "Overview",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "Save",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "separator1",
        "isDisplayed": true,
        "isSeparator": true
    }, {
        "name": "CheckOut",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "Rename",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "AssignTo",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "Advance",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "separator2",
        "isDisplayed": true,
        "isSeparator": true
    }, {
        "name": "SpellCheck",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "separator3",
        "isDisplayed": true,
        "isSeparator": true
    }, {
        "name": "Refresh",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "Preview",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "Publish",
        "isDisplayed": true,
        "isSeparator": false
    }, {
        "name": "separator4",
        "isDisplayed": true,
        "isSeparator": true
    }, {
        "name": "Assets",
        "isDisplayed": true,
        "isSeparator": false
    }]
}
See Also

Reference