Kapaow! Real time data in Power Apps Portals!

In order to be sure all data in the Covert Operation Center is up to date, we have to make sure caching is disabled. This is not possible by design in portals. But no worries. We have a dirty hack in our sleeves.

In order to reset the cache, we must navigate to /_services/about within the solution and click the “Tøm hurtibuffer” for the page.

Then we can monitor the network when clicking the button and save the request as a fetch request. Then we create a setTimout function with location.location() at the end.

And kapow! We have real-time data as long as the page is open within and browser.