web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to access the ID o...
Power Automate
Answered

How to access the ID of a sharepoint page?

(1) ShareShare
ReportReport
Posted on by 26

Hi. I'm creating a flow that works as the backend of my SharePoint site. Basically, whenever an item is added to this list, the flow is triggered. The flow first gathers the Title and ID of the new list item and sets the TeamID to be a concatenation of that information. (As seen below)

Screen Shot 2021-08-27 at 3.29.00 PM.png

The flow then creates a folder for the new team and builds a homepage using a template.

Screen Shot 2021-08-27 at 3.29.44 PM.png

This process is done for all of the other pages that will be linked in the homepage. All pages reside within the same folder.

Screen Shot 2021-08-27 at 3.30.06 PM.png

^^^This is where my issue is. I can't seem to figure out how to dynamically access the ID of a page that I've created so that I can check it out and edit its information. Here you can see me manually entering the page's ID. By doing this I can edit the content within the page, but that's obviously not going to work more than a single time. Any ideas for how I can check out specific pages? This process is repeated for each page within the folder. After checking out, I go into the inner HTML and change the content, but as you can see accessing that page is also hardcoded. It needs to be dynamic for each new list item.

Screen Shot 2021-08-27 at 3.32.21 PM.png

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @zach2161 ,

     

    Can you check if the ID is in the response of the step that is creating the item.  Check in your flow run history.   If it is, reference the output value using either Parse JSON or directly.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • Verified answer
    zach2161 Profile Picture
    26 on at

    It was not in response to creating the item, but it was in the response to get file metadata. My flow is working dynamically now, thanks!

  • -Mike Profile Picture
    4 on at

    Would you be willing to explain in more detail how you were able to get the sitepage IDs?

     

    I have hit a wall and need some help.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard