Tell me more ×
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 records from the global search of a custom object.

Any idea / suggestions?

share|improve this question
Do you use a visual force page? What have you tried so far? – Lex Feb 14 at 11:39

2 Answers

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

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

 
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.