Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer Service forum

Invalidate cache for FetchXml query in Liquid template

(0) ShareShare
ReportReport
Posted on by 75

I am trying to always return the most up-to-date records from a fetch query in my template. I've seen some solutions by passing in a random value in the querystring, however I do not want to use this method. 

I tried using the 'now' liquid function in the fetch like <condition attribute="createdon" operator="on-or-before" value="{{ 'now' | date: "yyyy-MM-dd HH:mm:ss" }}" /> however, it seems that even 'now' is cached! 

I would appreciate any other ideas to solve this issue.

Thanks,

Bruce

Categories:

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Featured topics

Product updates

Dynamics 365 release plans