Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to be able to restrict access to some of the objects from the global search. Is this possible?

share|improve this question
Do you use a visual force page? What have you tried so far? – Lex Feb 14 '13 at 11:39
Could you clarify whether you're trying to hide a specific record, or an entire object from the search? – Ralph Callaway Oct 21 '13 at 0:15
up vote 6 down vote accepted

If you wanted to completely block out an object, dont create a tab for it, and it doesn't show up in the search.

However, for all other cases, as long as the sharing settings permit the user to see the data, and if it matches the search expression, it will be returned in the results.

share|improve this answer
I want to hide the global search for chatter tab in communities (Manage Communities --> Edit --> Click on Tabs and Pages -->Select standard salesforce tabs --> select chatter tab..When i did this and when i change from Internal to Communities on the header I see the global search box) – sfdc Dec 10 '13 at 14:20

The question doesn't provide many details of what's the exact scenario but in general you need to start by reviewing your organization sharing settings: Organization Wide defaults, sharing rules, role hierarchy.

By not creating a tab as suggested in another answer you prevent this object showing up in the global search but it doesn't prevent accessing to those records directly or reporting on those records.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.