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

Hiding record type from users

Is there a way to to compeltely hide a contact record type from view? Simply declaring a recordType and restricting it to only the profile that needs it does not seem to mean that other profiles cannot see the records.  The Account sharing model is public, hence the Contacts are public also. So trying to seperate via role wont work.  


I could create my own Contacts Related List custom visualforce page to use on Account page layout. But then users would still be able to search and find records of that type. So thats not a full solution. 




Sharing rules will not work here ?



Hi JesseA,


If you follow this link, you could use the sharing rules to accomplish this by either adding a custom field on the object you want to allow restrictions on and use the link's example / content to provide that functionality:


Hope this helps