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
VeniRayVeniRay 

How to remove edit link from a related list without limiting the edit permissions at profile?

Hi,

Requirement demands to remove edit link from a related list, and the user should have edit permissions. I know we can do it by assigning a vf page but is there any way that we can remove it other than creating a vf page?

Thanks
Sonam_SFDCSonam_SFDC
It would be tough to remove the Edit link if we do not remove the edit permission from the profile - however, you can create a visualforce page and display the records which are currently visible in the related list using a datatable - you can add this vf page to the detail record page layout and remove the actual related list from the page.