PowerApps & SharePoint – The Ultimate User Experience – Dynamic Data Sources – Graph – Power Automate

5. PA_Graph_Item_Versions Flow


Many App Makars are no doubt NOT AWARE that Document Libraries are in fact types of Lists. As such Document Libraries equal contain a List Id property as do Lists. The values for this property for Document Libraries are returned in result set returned from the PA_Graph_DriveItems Flow run in the List Id property of that Flow run, and similiarily for Lists in the result set returned in the PA_Graph_ListItems Flow.

As was noted earlier, the sole reason for including this Flow within the overall solution was to demonstrate by way of example how easily additional information can be surfaced leveraging the SharePoint Graph v2.0 APIs. There is nothing of any complexity whatsoever to this Flow.

The Flow is instantiate by a PowerApps Trigger action, with a single parameter passed to the Flow. That parameter is a concatenation of the Site Id, List Id and Item Id for the List Item or Drive Item being queried.


By example:


The syntax for the input parameter is exactly the same whether you are querying the version history for a List Item or for the version history of Drive Item (such as a document). The Site Id, List Id and Item Id are exposed by both the PA_Graph_ListItems Flow for List Items or the PA_Graph_DriveItems Flow for Document Libraries.

This Flow was primarily added to the overall solution simply to showcase by way of example how easily other SharePoint v2 Graph APIs can equally be incorporated into any apps you may create leveraging the SharePoint v2 Graph APIs to surface other information exposed by those APIs that you may find useful in your own apps.

The other steps in this Flow speak for themselves.

Finally, one Flow with not all that much detail to cover LOL.

Up next: 6. PA_Graph_Site_List_Library_Columns Flow

3 thoughts on “PowerApps & SharePoint – The Ultimate User Experience – Dynamic Data Sources – Graph – Power Automate”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.