Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Unanswered

Invalidate server side cache for selected entities in Powerapps Portals

Posted on by 5

First of all, I hope this is the right forum.

Is there a way to selectively invalidate cache for certain entities in Powerapps portals? If not, is there a plan to do this in future? I have already turned on change tracking on the entity, but the portal either does not update at all, or definitely does not update fast enough.

To give you a use-case, imagine you have a application and approvals process, where the approval can happen both in Dynamics and on the Portal, but all applications are made through the Portal, and there's a bunch of workflows/flows that kick in as part of the process. The problem would be that all changes made outside of the portal, including changes to data by workflows/flows and even the Dynamics approvals are not reflected on the portal in a timely manner. If there was a way to invalidate cache for the application status entity for instance, so that whenever it is loaded, you get the most up-to-date status.

Another example is say there is a requirement to have a list of last viewed applications on the approver's home screen. This means that every time an application is viewed, this fact needs to be logged in a separate entity. At the moment, this is done using Power Automate (http trigger), so the entity creation is technically done outside the portal (Please feel free to suggest better ways of achieving this). The problem is that this list is again not reflected on the portal in a timely manner.

If there are better ways of achieving both, I am open to suggestions or just an answer to the original question would be fine.

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Invalidate server side cache for selected entities in Powerapps Portals

    Hi partner,

    It will always take 5-15 mins sync time between D365 and portal to display the upgrades from outside portal.

    Clearing server side cache could expedite the data sync as well.

    docs.microsoft.com/.../clear-server-side-cache

    The portal cache mechanism is by design in D365, and I recommend you to contact with Microsoft through raising tickets or ideas.

    Regards,

    Leo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans