just wondering if the published version number is available from within the App as a system variable? It would make checking that the user has the latest vesion a lot easier...?
Go to Solution.
Thanks for the feedback.
Currently there is no function available to return the current Version of the App in PowerApps, based on what I know.
You may consider submit this as an idea under PowerApps idea forum:
For the function list, see:
Formula reference for PowerApps
View solution in original post
I have a solution for this. I've just made a video and posted it on my blog here.
The blog primarily covers how to display the version number but putting it in a variable is probably easier.
Using the PowerApps for App Makers connection you can retrieve the apps versions. From there you can count all versions or count the current published version and then all previous versions.You are looking at running something like:
ClearCollect(myAppVersionsv2,PowerAppsforAppMakers.GetAppVersions("App ID"))App ID is the unique identifier for you app.
And then:Set(Version Number, CountIf(Ungroup(myAppVersionsv2,"value"),properties.lifeCycleId="Published" Or properties.appVersion<=publishedVersionv2)
I hope that helps.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.