anusha(salesforce developer)

Monday 18 July 2016

What is a Lookup Filter?

Lookup Filters

What is a Lookup Filter?

A lookup filter limits which records can be associated within an object relationship.

Why use Lookup Filters?

Use lookup filters to enforce data quality and increase usability within object relationships.

Example

When selecting a venue for a marketing campaign, users should only be able to select approved venues.
I configure the lookup filter on the “Venue” lookup relationship field:
1-14-2013 6-26-59 PM
Now, when marketing users select a venue that is not status “Approved”, they cannot save the campaign:
1-14-2013 6-30-22 PM
“Unapproved Vendor” was status “Pending”:
1-14-2013 6-30-42 PM
When a user searches for a venue through the lookup dialog, only records that match the required criteria are displayed:
1-14-2013 6-43-37 PM

Types of Lookup Filters

Required
Required filters (as shown above) require that data within the target record meet the specified criteria.  If criteria is not met, the record cannot be saved.
Optional
Optional filters will display a warning during search, but will not outright block the record from being saved:
1-14-2013 6-54-36 PM
1-14-2013 6-55-30 PM

No comments:

Post a Comment