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.


Report
All responses (
Answers (