hi
i would like to display the app version number, so i followed the instructions https://sharepains.com/2019/09/27/get-the-version-number-of-your-app-in-powerapps/
but i don't have the text field mentioned in the link
CountRows(PowerAppsforAppMakers.GetAppVersions(First(Filter(PowerAppsforAppMakers.GetApps().value,properties.displayName = "version")).name).value)
(i am preparing a component)
how can i fix this issue?
thank you
This worked for me but I am up to version 633 and the code just returned 100. Any workaround to this? Delete out about 500 older versions?
@BCBuizer Hi just to let you know that i was told that the version number is not possible in a component. Thank you
Hi @Anonymous ,
I just tested again and the only thing I noticed is that initially I got the same error, but then it disappeared on its own:
No clue what to make of this....
Hi @Anonymous ,
Can you please share the error text itself as well?
Hey,
Still the error on my side
Hi @Anonymous ,
I tested the code on the blog and found it is producing an error in itself. When correcting the code, it worked just fine for me:
CountRows(PowerAppsforMakers.GetAppVersions(LookUp(PowerAppsforMakers.GetApps().value,properties.displayName = "HQ DEV Components V2").name).value)
I guess this blog was from before the time that the LookUp function was available.
hi BCBuizer,
I corrected the value as requested.
CountRows(PowerAppsforMakers.GetAppVersions(First(Filter(PowerAppsforMakers.GetApps().value,properties.displayName = "HQ DEV Components V2")).name).value)
it looks better, i still have a small issue with the color value.
Hi @Anonymous ,
I see something different in your code then expected:
CountRows(PowerAppsforAppMakers.GetAppVersions(First(Filter(PowerAppsforAppMakers.GetApps().value,properties.displayName = "HQ DEV Components V2")).name).value)
I'm not sure if this is just a typo or you added the wrong connector. Can you please check you have the below in you list of connectors (exact same logo and name)?
If you don't have this, please add "Power Apps for Makers" (instead of PowerAppsforAppsMakers).
hi Levi
Thanks for replying. I changed the app 's display name.
CountRows(PowerAppsforAppMakers.GetAppVersions(First(Filter(PowerAppsforAppMakers.GetApps().value,properties.displayName = "HQ DEV Components V2")).name).value)
I still have an error with GetAppVersions ??
Thank you for your reply
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional