Click or drag to resize

SiteTreeServicesGetChildPagesSimple Method


Retrieve collection of summary information of children of given Page

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<NgGridData<PageFolderViewGridRow>> GetChildPagesSimple(
	string parentId,
	string pubTgt,
	int page,
	int pageSize,
	string searchString,
	string sortField,
	bool sortDsc
)

Parameters

parentId  String
The ID of parent page
pubTgt  String
The ID of current publishing target
page  Int32
Page number in the paginated collection
pageSize  Int32
Number of items per page in pagination
searchString  String
The string to filter pages by its name
sortField  String
The field to sort
sortDsc  Boolean
Whether sort descending

Return Value

XHRServiceResponseGenericNgGridDataPageFolderViewGridRow

Collection of summaries to specific page in the paginated collection of child pages

Example

Sample JSON return

JavaScript
{
    "page": 0,
    "pageSize": 50,
    "rows": [
      {
        "name": "search_wc",
        "id": "x1884",
        "checkedOut": true,
        "icon": 9,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "asset fields",
        "id": "x1883",
        "checkedOut": true,
        "icon": 11,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "search",
        "id": "x1509",
        "checkedOut": true,
        "icon": 9,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "test",
        "id": "x59",
        "checkedOut": true,
        "icon": 1,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "Site Control",
        "id": "x7",
        "checkedOut": false,
        "icon": 11,
        "isFolder": false,
        "marked": true
      },
      {
        "name": "Festival Extra",
        "id": "x14",
        "checkedOut": false,
        "icon": 11,
        "isFolder": false,
        "marked": true
      },
      {
        "name": "Sponsors",
        "id": "x15",
        "checkedOut": false,
        "icon": 1,
        "isFolder": false,
        "marked": true
      },
      {
        "name": "dita",
        "id": "x1516",
        "checkedOut": true,
        "icon": 1,
        "isFolder": false,
        "marked": false
      }
    ],
    "totalCount": 8
}
See Also