Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Issue with Apply filters on Entity list in custom web template

Posted on by 45

Hello All, 

i am facing issue while implementing Entity list in liquid. generated liquid as per our requirement and applying entity list to that , referred below for this - https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/examples/example-entity-list-table/ now this article does not have filters to add , so referred one more article on adding filters to entity list liquid template - https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/filters/entity-list-filters/ this is to show filters in radio button or check box , I modified this to show our filter as drop down list but when clicked on apply filters button , filters are not getting applied to Entity list. below is the html / liquid , i am using to render filters of the entity list

 is this correct? am I missing something in this ? 

  {% assign filters = entitylist | metafilters: params.mf, entityview %}
            <div id="heading">
                {% block Filters %}
                {% if filters.size > 0 %}
                <div id="rightheading">
                    <div id="entitylist-filters">
                        {% for filter in filters %}
                        <select id="{{ filter.id }}" data-filter-id="{{ filter.id | h }}"  class="entitylist-filter-option-group">
                            {% for option in filter.options %}
                            <option class="entitylist-filter-option" name="{{ filter.id | h }}" value="{{ option.id | h }}" {% if option.selected %} selected="selected" data-selector="true" {% endif %}>{{ option.label | h }} </option>
                            {% endfor %}
                        </select>
                        {% endfor %}
                    </div>
                    <button class="btn btn-default" data-serialized-query="mf" data-target="#entitylist-filters">Apply Filters</button>
                </div>
                {% endif %}
                {% endblock %}

*This post is locked for comments

  • Raman Profile Picture
    Raman 175 on at
    RE: Issue with Apply filters on Entity list in custom web template

    Hello. Did you resove this?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans