function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Richard Walker 3Richard Walker 3 

Hide child accounts from global search results

Hi,

I think  I already know the answer to my question but is it possible to stop the global search from returning certain records without restricting a users access to those records?

In my case I want the user to only be shown parent accounts when they search but for them to be able to navigate form the parent account to the child accounts related objects list.

We are having the age old multiple addresses dilemma and we want to make use of the enterprise territory management features and minimise custom code so we are leaning towards creating each address as an account and tying them to a parent but we don't want the users logging activity against the addresses, just the parent. When they search it shows all the addresses and it is difficult or impossible to make them choose the right account.