Forum Discussion
SharePointHelp678
Jan 25, 2024Copper Contributor
Displaying Site Page Data (Verion, Modified By, Modified...etc) In PowerApps
Hello all! I'm trying to build out a Power App that can help to track site page data and document library item data. The purpose is to show the current version, who modified the site or library it...
Rob_Elliott
Jan 29, 2024Bronze Contributor
SharePointHelp678 yes you can pull site pages data into your app in exactly the same way you would with a list or library. When you connect a data source, in the list of your lists scroll down to the bottom and in the "Enter custom table name" field type Site Pages, click the checkbox then click Connect.
Then you can add a gallery as in the image below where the items property is
SortByColumns('Site Pages', "Modified", SortOrder.Descending).
You enter the data you want, so for the version number the text property is
"Version: "&ThisItem.'Version number'
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)