Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

ODATA Filter Query - Only published Sharepoint Pages

(0) ShareShare
ReportReport
Posted on by

Hi

I want to send an email to a group of people every week containing a table of Sharepoint pages that has been created that week. But I only want the pages that has been published, not only created.

 

I figured out there is a Version Number value that ends with '.0' if a page is published. But I can not create the query to filter those out. Im using Sharepoint - Get Items but I can not figure out what the version number "column" is called (its not a custom column but a built in one). I've seen several ones mentioned on different sites:

  • VersionNumber
  • UIVersionNumber
  • ODATA_UIVersionNumber
  • VersionLabel

But no matter which one I try I get the message that my expression is not valid.
Anybody know how to filter out only published pages from Sharepoint?

  • Expiscornovus Profile Picture
    32,140 Most Valuable Professional on at
    Re: ODATA Filter Query - Only published Sharepoint Pages

    Hi @Anonymous,

     

    The name of the field is {VersionNumber}. However, it looks like the OData filter doesn't like the format of this field.

     

    As a workaround you could use a Get filers properties only with pages which have been created in the week. After that you could use filter array to filter for published pages.

     

    Btw, I would also suggest to filter for Promoted State equals 0. Otherwise you would also get the published news posts in your overview.

     

    filterarray_versionnumber.png

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1