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)

Using Liquid for Metadata filter on Entity List

(0) ShareShare
ReportReport
Posted on by 215

I have a requirement to pre-filter an entity list based on the originating URL. I'm attempting to test the liquid metadatafilters information discussed in https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/filters/entity-list-filters/ but when I check the 

{{filter.size}}

metadata variable it always = 0 and thus no filter is being produced to work with.

I have added a FetchXML Filter, Attribute Filter Set, and a Text Filter onto the configuration of the entity list to try and test various filter styles but I still always return 0 filters. If I use OOB rendering of Entity list the filters all show up.

I also used FetchXML for the entity list, which did work, but the pagination didn't update properly when running fetch on-top of the OOB entity list and I would end up with 10 pages of the same sub-set of the view.

Any ideas of what I'm doing wrong here or ideas of ways to use JavaScript or other processes to meet this requirement? 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    hi.. can you post your liquid code? at least the part where your entity list and filters are being declared?

    also.. does it gives you an error message? is the "apply" taking any action?

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