Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamic Filter on Subgrid look up

Posted on by 308

Hello all,

Any one know how can we add custom filter on the subgrid? On normal form, it is possible to add custom filter to a lookup field using Javascript fetchXml (addPreSearch, addCustomFilter). but i want to add it on subgrid lookup?

*This post is locked for comments

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Dynamic Filter on Subgrid look up

    Agree you could write a plugin to filter result using plugin code but there is no supported way of doing this through js code

  • TomSmelser Profile Picture
    TomSmelser 1,570 on at
    RE: Dynamic Filter on Subgrid look up

    As others state there is no supported way.

    But here is an example of adding a custom filter with plug-in. I have seen this example work with activities.

    Perhaps you could adjust to work for you. But again, not supported.

    community.dynamics.com/.../show-all-related-activities-in-a-subgrid

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: Dynamic Filter on Subgrid look up

    Agree with Ravi, there is no way to filter lookup in subgrid.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Dynamic Filter on Subgrid look up

    Hi,

    There is no supported way to do it.

    community.dynamics.com/.../209482

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Dynamic Filter on Subgrid look up

    Hi Ishan,

    I dont think there is any supported way to put a filter on lookup on subgrid.

    Hope this helps

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans