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
v-micsh-msft
Community Support
Community Support

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
v-micsh-msft
Community Support
Community Support

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.
Lachlan_w
Advocate II
Advocate II

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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,753)