+ Start a Discussion

Global Search on Salesforce Lightning

Hello All,

Trying to develop a Global Search functionality on a Lightning page, where the search is limited to the Specific page (Page consists of Tabs) not on Complete Org. The Search result should be hilighted on the page.
Ajay K DubediAjay K Dubedi
Hi ChetanG,
Search is the most used feature in Salesforce, and users expect it to be fast, intelligent, and simple. 
With a global search, users can get right to records and apps by entering simple keywords or using powerful advanced search features.
1. To enable Global Search, go to the Community Builder, and click the Page Editor tab. Choose “Search” in the page drop-down list at the top.
2. Delete the standard Search Results component. Choose Global Search Results component from the list on the left panel. Drag and drop it to the canvas.
3. Click the “Add” button in the Property Editor of the component. Choose the object you want to be included in search results. It can be a standard or a custom object.
4. Click Save and Publish. Go to the Community home page, type a keyword into the search bar and click Search. Search results will contain a tab with the added object.

Please refer the below link for more Information:

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Ajay Dubedi