cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xx
Advocate IV
Advocate IV

Get version number or release date of the app

Is there any way to get the current version number or release date of your app using a formula?  It would be really good to get metadata about the app using formulae, similar to the User object.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Lachlan_w
Advocate II
Advocate II

Hello,

 

You can now do most of this using the PowerApps for App Makers connection.

 

I've written a blog outling how to get the version number into you app. You can find that here.

 

While researching the topic I saw a lot of the metadata you are after was included in the dataset retrived when you run the get versions function.

 

I hope that helps.

 

Cheers,

 

Lachlan

View solution in original post

6 REPLIES 6
v-yamao-msft
Community Support
Community Support

Hi xx,

 

Currently, we could get the version number or release date in web.powerapps.com, on an app tile, click the ellipsis (. . .), and then click Details.


It seems that there is no function can be used to get the version number or release date.


Please consider to create an idea at PowerApps Ideas Forum, I will collect and report it from my side.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
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,

 

You can now do most of this using the PowerApps for App Makers connection.

 

I've written a blog outling how to get the version number into you app. You can find that here.

 

While researching the topic I saw a lot of the metadata you are after was included in the dataset retrived when you run the get versions function.

 

I hope that helps.

 

Cheers,

 

Lachlan

View solution in original post

Building on the solution in the blog above I found a nice neat little way of getting a "v6.7" label in my app.PowerApps Version Number.JPG

 

I just built all the original functions in the video linked above into the one button:

 

ClearCollect(myAppVersions,PowerAppsforAppMakers.GetAppVersions(appID));
ClearCollect(myAppVersionsv2,Ungroup(myAppVersions, "value"));
ClearCollect(myAppVersionsv3, Filter(myAppVersionsv2, properties.lifeCycleId="Published"));

 

 

Then I setup a new label with the text:

 

"v" &
//count number of rows in myAppVersionv3
CountRows(myAppVersionsv3) &
"." &
//Need to remove the "T" and "Z" from the version name (which is really just a time stamp)
//Count the number of rows in myAppVersionv2, where the name is greater (aka newer) than the last published version
CountIf(myAppVersionsv2, Value(Substitute(Substitute(name, "T", ""), "Z", "")) > Value(Substitute(Substitute(First(myAppVersionsv3).name, "T", ""), "Z", "")))

 

This label counts the number of published versions as the leading version number

It then counts the number of saved, unpublished (aka "draft") versions since the last published version as the trailing number

 

Thanks,

 

Lachy

Where is the video ?


@Lachlan_w wrote:

I've written a blog outling how to get the version number into you app. You can find that here.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (49,494)