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 :
Microsoft Dynamics CRM (Archived)
Answered

Change searchable field on lookup control

(0) ShareShare
ReportReport
Posted on by

Hi, everybody

I'm trying to change the searchable field for a lookup control. The scenario is this:

I have a custom entity with a 1:N relation to 'contact' entity. The form of the custom entity has a lookup control to find the 'contact' related to. The 'contact' entity has a new field that represents a unique ID number (used at my country). When i go to find the contact in the custom entity form, i want the lookup control search by the new field (contact unique ID) and not only by the primary field (fullname).

Is there a way to do this using JavaScript, a custom view or even a C# plugin?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Hi,

    Yes you can do this simply by editing the find fields on the 'Quick Find' view for the contact entity. See www.microsoft.com/.../edit-the-quick-find-view.aspx

    Hope this helps,

    Scott

  • Verified answer
    Nuno Profile Picture
    2,005 on at

    Hi Hugo,

    You can do this with a custom view. Create a custom view with only the field you want to display (contact unique ID) and then in the field properties for that lookup, in Additional Properties set the default view for your custom view.

  • Nuno Profile Picture
    2,005 on at

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans