Click or drag to resize

PageCreationRulesAdminServicesList Method


Retrieves the list of extended information entries of Page Creation Rules, and collection of Workflow Definition basic information entries.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<PageCreationRulesListingData> List()

Return Value

Type: XHRServiceResponseGenericPageCreationRulesListingData

The object contains collection of Page Creation Rules and Workflow Definitions

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "rules": [{
            "name": "Image",
            "id": "PageCreationRules\/1",
            "englishName": null,
            "groupsCount": 2,
            "isDefault": false,
            "workflowEnglishName": null,
            "workflowName": "",
            "autoSelectParent": true,
            "isSchemaComponent": true,
            "parentsCount": 1,
            "schema": "Image File",
            "schemaEnglishName": "Image File",
            "stylesheet": "~default~",
            "usersCount": 0,
            "workflowId": ""
        }],
        "workflowChoices": [{
            "name": "--No Workflow--",
            "id": "",
            "allowedGroup": null,
            "allowedUsers": null
        }]
    }
}
Remarks
The returned workflow definition information are choices to use create deciding whether to have Pages created via a Page Creation Rule to be put into a Workflow.
See Also