PowerApps Canvas Apps: How to display the version number inside the app

The PowerApps for Apps Maker connector is awesome. One of the actions it can call is ‘Get Versions’. In this video I show how you can use the action to display the version number inside the app.

The TL;DW quick explanation is with the PowerApps for App Makers connection added to your Canvas App run this function:

ClearCollect(myAppVersionsv2,PowerAppsforAppMakers.GetAppVersions("App ID"))

App ID is the unique identifier for you app.

After running that function you will be able to add some text which would look something like this depending on your preference of style:

"<b>Version </b>"&CountIf(Ungroup(myAppVersionsv2,"value"),properties.lifeCycleId="Published" Or properties.appVersion<=publishedVersionv2)

Please let me know what you think! If you would like a copy of the .msapp file please get in touch and I will pass it on.

I’ve posted a idea on the PowerApps Ideas Forum that would help speed up this process. If you agree please up vote it here.

Leave a Reply

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