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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Lookup is not filtering in search

(0) ShareShare
ReportReport
Posted on by 1,023

Hi,

I have a N: N relationship between two entities A and B. I placed the subgrid in entity A to add the records of entityB.

So, in the subgrid when I click on the Add exisitng button and type a value in the lookup, it returns all the values and the search is not working. (One thing I observed when I search in lookup it is just making the search word BOLD in the matching word instead of returning a single result)

Please advise how this can be fixed.

I have the same question (0)
  • Suggested answer
    Modesto Iacopino Profile Picture
    on at

    Hello James,

     out of the box, we cannot filter the lookups when adding existing items to the relationship subgrids.

    You have to customize you CRM adding js function and configure the command with for example Ribbon Workbench.

    There are some example in github:

    https://github.com/ashlega/ItAintBoring.FilteredNtoN/blob/master/FilteredNtoN.js

    https://github.com/PaulNieuwelaar/filteraddexisting/blob/master/source_v9.js

    Regards

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans