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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Portal Caching - Dynamics 365 CRM On premise portal - changing the sorting, shows the records correctly

(0) ShareShare
ReportReport
Posted on by 290

Hi Guys!

we are facing the issue where new records are not shown in the grid on the portal. Basically, when changing the sorting, it shows also the new records. But in case if the sorting is changed again to the original one, there are no new records any more.

Have you seen this error? Do you have any solution for this?

We are using this solution: https://www.microsoft.com/en-us/download/details.aspx?id=55789

BR,

Miha

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Nicholas Hayduk Profile Picture
    2,863 on at

    Hi Miha,

    We've seen this in the past, and usually it indicates you don't have the automatic portal cache invalidation configured correctly.  The weird behavior occurs because each different page of the grid is cached independently.  The first page of the grid is usually in cache, since anytime you visit the page it's displayed and cached.  But if you change the ordering, this creates a new requests, that most likely hasn't been cached yet, and therefore will perform a new query against the CRM and get the new data.

    I've written a blog post on setting up cache invalidation for the on premise version (it's also known as the xRM Portals Community Edition):

    www.engineeredcode.com/.../automatic-cache-invalidation-for-xrm-portals-community-edition

    Hope that helps.

    Nick

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans