cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver II
Resolver II

Read Html of our site pages and check for certain content

I would like to rotate through all the .aspx in the Site Pages directory that begin with "Destination"

I then want to look to see if there's content in a certain place.

My method for doing that is to get the index count where there is <h1>This Section</h2> and compare that to where the index count of <h1>Next Section</h1> is.

If the numbers vary greatly then I know someone has added content. Of course in the html (view source) there's loads of crazy sharepoint web part code but I can figure out if the difference exceeds x then that likely means someone has done what they were needed to do.
I'm stuck.
I can get the files (get properties)

But what do I need to do to get the content (the html) of those files?
Which action item provides that?

and for a bonus how to I filter with ODATA to only show me .aspx files beginning with the word destination?

As always - thank you.

 

0 REPLIES 0

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (90,733)