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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,365)