Take the 2-minute tour ×
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.

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 Oct 21 '13 at 0:15
add comment

2 Answers 2

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) –  sf.dev Dec 10 '13 at 14:20
add comment

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
add comment

Your Answer

 
discard

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.