All of the examples that I can find for showing an app version in a canvas app involve counting rows for versions. However, there is a named version column under Versions in the app settings. Is there not a way to display this version with the connector?
Ah, that’s what I was missing. Thank you!
I don't think its a bug. CountRows defaults to 100 items if you don't specify a Top: value. Try the following code and specify a Top number higher than the number of versions you expect.
CountRows(PowerAppsforMakers.GetAppVersions("AppGUID",{'$top':500}).value)
Also, I don't think it keeps app versions older than 6 months so its not typical to have that many versions.
Ok. there seems to be a bug with greater than 100 rows. My app always shows 100 when I use the countrows method.
There is no version number stored with each version. The time and Date of the last save is stored. That is what is returned when you access the appversion property of the app. CountRows is used to get the number of times it has been saved. That is the number that is displayed in the Versions screen. So CountRows is the only way to get an actual version number.
Nope. That’s using countrows.
Does this help ?
https://www.m365princess.com/blogs/show-app-version-power-apps-canvas-apps/
---------------------------------------------------------------------------
If I have helped you with an answer, please accept this post as a solution and thumbs up my reply. Thanks !
Blog - JonDoesFlow
Twitter - JonDoesFlow
YouTube - JonDoesFlow
WarrenBelz
98
Most Valuable Professional
MS.Ragavendar
73
stampcoin
50