Hi @Dave Mack ,
According to your description, the issue may be more related to Power Apps.
Power Apps is currently not supported in the Q&A forum. Please start a new discussion via the Power Apps Community so that you can get dedicated support on this issue.
And I did some research. Find some ways for your reference:
Method 1: Using Query String Parameters
- Add a query string parameter to your SharePoint page URL which will contain the URL or title of the page. For example, you can use the following URL: https://yoursharepointpage.com?currentPageUrl=https://yoursharepointpage.com/page1
- In your PowerApp, use the Link_to_PowerApp URL to pass query string parameters to the PowerApp. For example, you can use the following URL: https://yourpowerapp.com?currentPageUrl=__currentPageUrl__
- In PowerApp, use the Param function to retrieve the value of a query string parameter. For example, you can use the following formula: Param("currentPageUrl")
Method 2: Using Power Automate
- Create a new process in Power Automate and select the "SharePoint - When item is added to list" trigger. Select the SharePoint list where you want to store the URL or title of the page.
- Add an "HTTP - Send HTTP Request" action, configure it to use the "GET" method to retrieve the page URL or title from SharePoint. You can use the following URL: _api/web/GetFileByServerRelativeUrl('/SitePages/Page1.aspx')/ListItemAllFields?$select=FileRef,Title
- Map the output of the "HTTP - Send HTTP Request" action to the "SharePoint - Update Item" action to update the corresponding item in the list.
- In PowerApp, use the "SharePoint - Get Items" action to retrieve the items in the list, and retrieve the value of the page URL or title.
I hope these steps help you!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.