Click or drag to resize

PublishingSystemManagerServicesListPubProfiles Method


Retrieves the list of Publishing Profiles. Publishing Profiles are collection of Publishing Target that fit certain criteria. The purpose of Publishing Profiles is easy Publishing Targets selection during Publish submission.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<PublishingProfilesListData> ListPubProfiles()

Return Value

Type: XHRServiceResponseGenericPublishingProfilesListData

Object contains Array of Publishing Profile basic information, and array of User Groups basic information

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "groups": [{
            "name": "Administrators",
            "groupId": "UserGroup\/1",
            "usersCount": 2
        }, {
            "name": "Authors",
            "groupId": "UserGroups\/1",
            "usersCount": 1
        }],
        "pubProfiles": [{
            "name": "Staging",
            "id": "PublishingProfiles\/1",
            "targetsCount": 2
        }, {
            "name": "Live",
            "id": "PublishingProfiles\/2",
            "targetsCount": 1
        }]
    }
}
See Also