web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Portal caching issue
Power Pages
Answered

Portal caching issue

(0) ShareShare
ReportReport
Posted on by 60

I am creating a record in one of my entities (entity1) through my portal using the OOB 'Create New Record' function.

On creating a new record through the portal, a Power Automate runs and creates a set of related records in another table (entity2) for the new record.

When I try to view these records from entity2 in the portal (through a subgrid added on my detail form), they are not visible immediately. Clearing server side cache works, but that is a manual process.

 

How can i ensure that the newly created records are visible in the portal subgrid?

Categories:
I have the same question (0)
  • Satya Ranjan Kar Profile Picture
    8 on at

    Hi @TheIntern 

     

    The default SLA, CDS record updates will reflect in power Apps Portal in 15 minutes.

    Can you enable the 'Change Tracking' feature for both entity1 and entity2 to check the related records are displayed on portal.

     

    --------------------------------------------------------

    If you find this post helpful consider marking it as a solution to help others find it.

    Thanks,

    Satya

  • TheIntern Profile Picture
    60 on at

    Thank you for the response @satyarkar 

     

    I checked the entities, and the 'Change tracking' feature is enabled for both.

  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi @TheIntern , actually the Change Tracking option won't make a difference anymore.

    Like mentioned by @satyarkar, as your process is running in the background, this will take up to 15 min for the Portal to refresh your data.

     

    In regards with your Power Automate flow, does it have to be a power automate flow? are you doing any complex integration that it requires power automate? if not, I would consider using Plugins/Workflow in your Dataverse (CDS), and they would have to be a sync/real-time process.

    Whenever we have a sync process starting via Portals, the cache is automatically invalidated.

     

    Take a look at this article for more tips: https://oliverrodrigues365.com/2020/07/27/power-apps-portals-caching-tips/

     

    more info on workflows: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/workflow-processes

    more info on plugins: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/plugin-development

     

  • Verified answer
    Pranjali Profile Picture
    Microsoft Employee on at

    Hello @TheIntern ,

     

    If you are associating items by making direct calls to CDS(via flow in this case), then it is not expected that grid will refresh automatically. It will be bound by the cache invalidation sla which is 15 mins.

    One way to force refresh of subgrid it is by making a change to that (entity2)entity from portal itself.

     

     

    Cheers!

    Pranjali

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 33

#2
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 22 Super User 2026 Season 2

Last 30 days Overall leaderboard