Advanced Customization > Services and Infrastructure Customization > Customizing MPMLink > Configuring Search Delegate for Object Reference Attributes
  
Configuring Search Delegate for Object Reference Attributes
Objective
Configure the search delegate in object reference attributes to display custom results.
Problem Statement
You want the object reference attributes to refer to objects of your choice. To display custom search result for reference objects, you want to configure the search action based on the following customization points:
Modify the criteria for the search query.
Add additional filters.
Display custom attributes in search result.
Refresh all or editable attributes.
Background
ObjectReferenceSearchWidget helps to list autosuggested options when searching for a reference object. Use ObjectReferenceAttributeSearchDelegate to define the search query to execute in ObjectReferenceSearchWidget. You can also set the attribute that should appear in the search result for the reference objects.
Scope, Applicability, or Assumptions
In most cases, you need to write some code to achieve your specific business use case for fetching the data in ObjectReferenceAttributeSearchDelegate.
Intended Outcome
The search result displays the desired reference objects based on the configuration specified in ObjectReferenceAttributeSearchDelegate.