There are no basic tools to modify the global search results in the application. However, you can edit a schema that is responsible for the displaying the found data taken from a particular object according to your needs. You can modify the diff part of the code in the inherited from the object schema located in a Custom package. For accounts it is AccountSearchRowSchema and for contacts - ContactSearchRowSchema.
Thanks a lot Dean. I will try that.
I stumbled across this post because I also want to modify my search results.
Clicking to the "Custom" section and adding a module gives me a selection of a lot of possibilities .... which one do i have to select? And why? The explanation in the manual is not very helpful for me.
Thanks for your help.
You should use "Replacing view model".
Let me provide you with an example based on the Account section.
Here is a screenshot of the base result that the Global Search returns when searching for an account:
Let's say we want to add the "Also known as" column to the search result (the one from the screenshot below) and remove the "City" column:
To achieve this:
1) Create the "Replacing view model" in configurations with "AccountSearchRowSchema" code, "AccountSearchRowSchema" name and select "AccountSearchRowSchema (AccountSearchRowSchema)" as a parent: