cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Impactful Individual
Impactful Individual

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.

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.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

stapes
Impactful Individual
Impactful Individual

Thanks

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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

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
Top Kudoed Authors
Users online (1,819)