cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gokello
Advocate V
Advocate V

Enforce Use of Latest Published Version of PowerApps

@audrieg

I have an App that is in production.

Whenever I make changes and publish, sometimes users don't get the latest version.

They have to open the app few times (keep refreshing) before they get it.

 

Is there a way to enforce use of the latest deployed (published) version?

 

Gilbert

1 ACCEPTED SOLUTION

Accepted Solutions
dinusc
Microsoft
Microsoft

Hello Gilbert,

 

The reason the users don't get the latest version of the applicaion fast enough is most likely related to the fact that the published app needs to be replicated accross different server nodes that the users connect to. I don't think there's a way to prevent this. What you could do however is let the user know that a new version is comming soon. One way to do this would be to have an internal application version which is stored in the database and locally. You will have to update that version when the app is updated. Your applcation can compare those numbers (locally stored one with the one from the database) and display a friednly message (or possibly perform other actions).

View solution in original post

3 REPLIES 3
dinusc
Microsoft
Microsoft

Hello Gilbert,

 

The reason the users don't get the latest version of the applicaion fast enough is most likely related to the fact that the published app needs to be replicated accross different server nodes that the users connect to. I don't think there's a way to prevent this. What you could do however is let the user know that a new version is comming soon. One way to do this would be to have an internal application version which is stored in the database and locally. You will have to update that version when the app is updated. Your applcation can compare those numbers (locally stored one with the one from the database) and display a friednly message (or possibly perform other actions).

View solution in original post

Good Idea!

Will implement as suggested.

Thank you.

mdevaney
Super User III
Super User III

@gokello 

I have a fool-proof method that forces an app update 100% of the time on tablet, mobile, or PC.  Store the app version number in your datasource, then hardcode that same number into your app.  When the app is opened you can check if these numbers are the same.  If not, prevent the user from going any further and give instructions on how to clear the cache/force update.


Link to Article - Force App Updates In Power Apps
https://matthewdevaney.com/force-app-updates-in-power-apps/

 


Tablet Screenshot:

 

mdevaney_0-1619964038879.jpeg

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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 (3,320)