Microsoft CRM 2011 – Filtered Lookup

11-11-10

Hi Everyone,

One of questions that came up at this month’s user group that I didn’t answer was how to configure Filtered Lookups.
In this scenario we want a filtered lookup to show only contacts that are related to the customer of a case.

Before we start the “Responsible Contact” lookup dialog looks like this prior to enabling filtering.
Initial Lookup View

To do this from the case form go to Customize and click “Form”
Customize Case Form

Select the “Responsible Contact” field and click “Change Properties” (Or Double Click)
Select Responsible Contact

In the “Related Records Filtering” section Check “Only show records where:”
Related Record Filtering

Select “Customer (Accounts) (Cases)”
Related Record Filtering Relationship Selection

Select “Parent Customer (Accounts) (Contacts)”
Related Record Filtering Condition

Click ok, Save and then publish.
Publish Changes

When you create a case and the Customer is an account the results displayed for the lookup will be filtered to the related contacts for both the search and auto resolve.
Filtered Lookup Dialog

To stop users being able to turn off the filter uncheck the “Allow users to turn off filter” option in the “Related Records Filter”
Allow users to turn off the filter

The “Additional Properties” section allows you to turn off the search or set the default view and what if any additional views are available.
Lookup Additional Properties

This is how the filtered lookup looks after turning off the search and limiting the views available.
Filtered Lookup Dialog without Search and some views

This entry was posted on Thursday, November 11th, 2010 at 8:32 am and is filed under CRM 2011, Customization, Microsoft Dynamics, crm. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

 
Rss Feed Tweeter button