cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Published Version Number

Hi gang,

 

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...?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Published Version Number

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:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

For the function list, see:

Formula reference for PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Published Version Number

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:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

For the function list, see:

Formula reference for PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Lachlan_w
Level: Powered On

Re: Published Version Number

Hello,

 

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.

 

Cheers,

 

Lachlan

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 164 members 5,759 guests
Please welcome our newest community members: