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
Jay LiladharJay Liladhar 

Record access via Related list

Hi guys,

I would like to allow my sales team to view records in a related list but not be able to drill into the record. For example, View realted contacts for an account in the related list but not be able to view the record itself.

Any Ideas?

Thanks

Jay
Tavva Sai KrishnaTavva Sai Krishna
Hi Jay,

You can create a visualforce page which will display the list of records in a pageblock table and add the vf page to the pagelayout of the object by removing the standard related list. In the custom vf page you will not add the record name to be appear as a link. 

let me know if you have any questions in the above solution. 

Regards,
Sai Krishna Tavva.