Page.getSiblings (Method)

Returns zero or more structures, each containing information about pages or templates that have the same parent as the specified page.

Returns:

Page_getSiblings_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
Description PlainText_NonNull A description for the page or template.
FileName Filename The page's file name.
IconPath ServerRelativeURL_EmptyString A server-relative URL to an icon representing this page or document's type.
IconText PlainText Text describing the page or document's type.
PageID PageID The page's ID.
PageType PageType An integer specifying the page type; for example, 0 (normal or uploaded document), 1 (template), 4 (custom element), 6 (page set), and so on.
SubsiteID SubsiteID The subsite's ID.
SubsiteURL SubsiteURL The server relative URL of the page's subsite.
Title PlainText_NonNull The page's internal CommonSpot title.

Arguments:

Name Type Required Description
pageID RealPageID_NonBaseTemplate Required A page's ID.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None