A nice touch I like to build into my PowerApps is a button which takes the user to the SharePoint Version History for SharePoint list items underpinning the PowerApp.
This is really useful to allow business users to leverage SharePoint's powerful Version History feature to see who made what changes and when to a particular data item.
To implement it, simply add the code below to the "OnSelect" property of your version history button / widget in your PowerApp:
Launch("https://<yourtenant>.sharepoint.com/sites/<yoursite>/_layouts/15/Versions.aspx?list=<yourlistid>&ID=" & SharePointIntegration.Selected.ID)
Remember to replace the bits highlighted with your own values!!
Easy - and handy 🤗
Comments