Hi all!
In my Power App I have a gallery showing all files in a (SharePoint) document library. For this library, content approval is set to required and Minor version are created.
By default, the gallery will of course show all items.
How can I filter my gallery such that only the latest approved version will show to the user?
Filtering by "Approval Status" is not an option, as it will also hide the previous version(s).
Filter('SP Library', 'Content approval status' = "Approved")
For example: I want to show Version 2.0 (approved) to the user but 2.5 (draft) exists. If the user selects the document, version 2.0 is opened (not 2.5).
Thanks in advance for your help!