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 / ODATA Filter Query - O...
Power Automate
Unanswered

ODATA Filter Query - Only published Sharepoint Pages

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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?

Categories:
  • Expiscornovus Profile Picture
    33,997 Most Valuable Professional on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard