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
devfredevfre 

Reg: visibility to related lists in contact

if the user with some profile creates some notes and attachments in contact , it should be visible only to users who are having the same profile. it should not be visible to the other profile users. how to achieve that?

bob_buzzardbob_buzzard

You can't do this via standard functionality I'm afraid - the private checkbox restricts access to the owner, but not the profile.

 

The way that we've handled this in the past is to create a custom object with a lookup to the contact, add the notes/attachments to that and restrict access to that object via the profile.

cmlcml

You can also override your standard Contact  view page with a visualforce page and control the visibility there.