cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Post Prodigy
Post Prodigy

Version number is not updating

I have identical code in 2 apps. One of them is not working:

 

Set(
    gblAppId,
    "a035d343-d892-47ca-9aa7-8cd12a63484a"
);
Set(
    gblAppName,
    PowerAppsforMakers.GetApp(gblAppId).properties.displayName
);
Set(
    gblAppVersion,
    CountRows(
        PowerAppsforMakers.GetAppVersions(
            First(
                Filter(
                    PowerAppsforMakers.GetApps().value,
                    properties.displayName = gblAppName
                )
            ).name
        ).value
    )
);

In the working version, every  time I Save & Publish a change, this number changes.

The other, identical in this respect, remains at 150 but we are on 163

This one is brokeThis one is brokeThis one updates correctlyThis one updates correctly

 

Obviously the App ID differs.

Why would it not work?

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @stapes ,

 

Would you like to get the app version number in PowerApps?

 

If so, I think you have encountered the limit of "AppVersions" which is 150. I made a test and found that there is no app version number or anything like that being stored but only the Publish Time stored as appVersion.

 

If you would like PowerApps could get the latest version number, you could vote for the idea in Idea Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Published-Version-Number/idi-p/126247 

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
v-jefferni
Community Support
Community Support

Hi @stapes ,

 

Would you like to get the app version number in PowerApps?

 

If so, I think you have encountered the limit of "AppVersions" which is 150. I made a test and found that there is no app version number or anything like that being stored but only the Publish Time stored as appVersion.

 

If you would like PowerApps could get the latest version number, you could vote for the idea in Idea Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Published-Version-Number/idi-p/126247 

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Thanks

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,381)