Skip to main content
Roberty Studio
RPASharePoint

List pages of a site

List pages of a site

Lists the pages available in a specific SharePoint site.


Options​

SharePoint site​

Select the Get site by path action set up in the flow.

Returns​

Javascript code​

js
actions["action-id"].pages // the pages of the site (List)

Field selection​

  • pages — the pages of the site (List)

Rules and Conditions​

  • The SharePoint site field is required.
  • Each item of pages has id, name, title, webUrl, pageLayout, promotionKind, showComments, showRecommendedPages, createdDateTime, lastModifiedDateTime, createdBy, lastModifiedBy and publishingState (with state and version).
  • If Microsoft Graph rejects the operation (item not found, insufficient permission, etc.), the action fails with the error message returned by the API.