{% assign parentCustomerId = user.parentcustomerid.id %}
{% if parentCustomerId %}
{% entitylist name: "Available Units"
isModern: "true"
filter: "udc_unitassignment eq '" | append: parentCustomerId | append: "'" %}
{% else %}
{% entitylist name: "Available Units" isModern: "true" %}
{% endif %}
- If parentCustomerId exists, show only units where udc_unitassignment equals this ID.
- If parentCustomerId is null, show all units.
- The page always shows all records, ignoring the filter.
- Debug messages in Liquid ({{ parentCustomerId }}) show the correct value.
Questions:
- Am I using the correct syntax for filtering an Entity List by a lookup field in Liquid?
- Is there a known issue that prevents entitylist filter from applying to lookup fields?
- Are there any special requirements for server-side filtering on udc_unitassignment .


Report
All responses (
Answers (