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

  • Verified answer
    Nicholas Hayduk Profile Picture
    2,863 on at
    RE: Portal Caching - Dynamics 365 CRM On premise portal - changing the sorting, shows the records correctly

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans