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

Notifications

Announcements

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

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:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard