+ Start a Discussion
Diwakar G 7Diwakar G 7 

Displaying all fields in Home custom object page

Hi,

In the below figure, Requesterdetail is a custom object. I have created the lookup releationship. when I clicked search button it is showing only id. But, there are two more field present in the object. I want those two fields to be appear in this page along with Id. Please help me.

User-added image

Thanks and Regards,
Diwakar G
Best Answer chosen by Diwakar G 7
SandhyaSandhya (Salesforce Developers) 
Hi,

By default, Salesforce searches only on the Name field for custom objects. 
To extend the search to other fields of custom objects, perform the following actions for the required custom objects:

Navigate to Setup > Create > Objects.
In the Custom Objects page, click <custom object name>.
In the Search Layouts section, click Edit for the Lookup Filter Fields layout.
From the Available Fields list, select the fields that you want to be searched in the lookups.
Click the right arrow to move the selected fields to the Selected Fields list.
Click Save.


Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya

 

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,

By default, Salesforce searches only on the Name field for custom objects. 
To extend the search to other fields of custom objects, perform the following actions for the required custom objects:

Navigate to Setup > Create > Objects.
In the Custom Objects page, click <custom object name>.
In the Search Layouts section, click Edit for the Lookup Filter Fields layout.
From the Available Fields list, select the fields that you want to be searched in the lookups.
Click the right arrow to move the selected fields to the Selected Fields list.
Click Save.


Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya

 
This was selected as the best answer
Diwakar G 7Diwakar G 7
Thank you. It worked for me.