Click or drag to resize

SystemOptionsServicesGetPossibleTreeMenuItems Method


Retrieves the collection of Menu Items on the Site Tree context menu. This result reflects what functionalitis are available on the Ingeniux CMS Site tree.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<UniqueObject[]> GetPossibleTreeMenuItems()

Return Value

Type: XHRServiceResponseGenericUniqueObject

Collection of Site Tree context menu items

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "name": "Empty Recycle Folder",
        "id": "EmptyRecycleFolder"
    }, {
        "name": "New",
        "id": "New"
    }, {
        "name": "Rename",
        "id": "Rename"
    }, {
        "name": "Refresh",
        "id": "Refresh"
    }, {
        "name": "separator",
        "id": "separator2"
    }, {
        "name": "Cut",
        "id": "Cut"
    }, {
        "name": "Copy",
        "id": "Copy"
    }, {
        "name": "Paste",
        "id": "Paste"
    }, {
        "name": "Delete",
        "id": "Delete"
    }, {
        "name": "separator",
        "id": "separator3"
    }, {
        "name": "Add to Workflow",
        "id": "AddToWorkflow"
    }, {
        "name": "Remove From Workflow",
        "id": "RemoveFromWorkflow"
    }, {
        "name": "Assign To...",
        "id": "AssignTo"
    }, {
        "name": "Advance",
        "id": "Advance"
    }, {
        "name": "Show History",
        "id": "ShowHistory"
    }, {
        "name": "Send Mail",
        "id": "SendMail"
    }, {
        "name": "separator",
        "id": "separator4"
    }, {
        "name": "Check Out",
        "id": "CheckOut"
    }, {
        "name": "Check In",
        "id": "CheckIn"
    }, {
        "name": "Propagate publishes to latest version",
        "id": "PropagateCheckIn"
    }, {
        "name": "Undo Check Out",
        "id": "UndoCheckOut"
    }, {
        "name": "Rollback",
        "id": "Rollback"
    }, {
        "name": "separator",
        "id": "separator5"
    }, {
        "name": "Mark For Publish",
        "id": "MarkForPublish"
    }, {
        "name": "Preview",
        "id": "Preview"
    }, {
        "name": "Publish",
        "id": "Publish"
    }, {
        "name": "separator",
        "id": "separator6"
    }, {
        "name": "Page Properties",
        "id": "PageProperties"
    }]
}
See Also