web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamic Filter on Subgrid look up

(1) ShareShare
ReportReport
Posted on by 314

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

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Ishan,

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

    Hope this helps

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    There is no supported way to do it.

    community.dynamics.com/.../209482

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

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

  • TomSmelser Profile Picture
    1,570 on at

    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
    Mahendar Pal Profile Picture
    45,095 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans