cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ethan_R
Super User
Super User

Get Version Number in Canvas PowerApps

Hi All,

Can I get Version of current app easier ?

I've tried connector PowerAppForMakers

Data I recieved is not what is expected.

here AppVersion is,

Ethan_R_0-1622022198574.png

and I want this,

Ethan_R_1-1622022226912.png

 

Any help would be great.

6 REPLIES 6
JR-BejeweledOne
Super User
Super User

Try this:  Replace the display name with the display name of your app

 

 

CountRows(PowerAppsforMakers.GetAppVersions(First(Filter(PowerAppsforMakers.GetApps().value,properties.displayName = "version")).name).value)

 



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

Hi @JR-BejeweledOne ,

I have previously used the exact same formula but its showing incorrect value.

It doesn't seem to give version that is 'LIVE'. 

Currently, My App is Live on version 19. 

Its showing 20. 

I've checked but data table doesn't store field or tag relating to Live version. 

Hence I seek help from here.

Any chance to get LIVE version ?

 

9erFan925
Regular Visitor

Hello,

 

I found your post and thought I would contribute.

 

Use the following code to count the number number of rows returned using GetAppVersions(). This is essentially your version number.

 

CountRows(PowerAppsforMakers.GetAppVersions("YOUR_APP_ID").value)

 

Hope this helps anyone else who comes across this thread.

 

Cheers!

Larry_Dickerson
Regular Visitor

None of these "CountRows" solutions work if you have more than 100 versions due to delegation.  

 

Any other ideas?

Hi @Larry_Dickerson ,

 

You can use pagination technique where we use Last(Gallery.AllItems) and get all records that are present.
You can refer Reza Dorrani's Pagination video on YT for handling Delegation problem.

 

With that you can get more records in your PowerApp.

 

Hope this helps.

Larry_Dickerson
Regular Visitor

Thanks Ethan.  I'll check out Reza's pagination video (was hoping this would be possible without jumping through hoops, but then, what fun is that?)  😉

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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
Users online (1,366)