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
community Name.ax928community Name.ax928 

Remove or override action buttons (Edit, Delete) from the related list

Hi to everyone,

i have one scenario that i need to remove or override the Edit button from ACtion buttons from contacts in Accounts related list, because i am overriding the contact "edit" button with visualforce page.

 

when the user clicks on this button they could not able to see the page that i created.

 

is there any way to remove the "edit " button from related list or override with the visualforce page.?

 

 

 

Ritesh AswaneyRitesh Aswaney

You would have to create a VisualForce page to replace the default Contact Related List section. Edit the page layout, delete the Contact Related List, and then add a VF section, into which you drop your Custom Contact List VF Page.

community Name.ax928community Name.ax928

Thanks for the reply, 

 

is there any other way to remove "EDIT" instead of writing code..or can i remove that button and put custom button there??

 

Ritesh AswaneyRitesh Aswaney

Not that I know of - you'd have to write a custom VF section I reckon. So a VF page - won't need a custom controller though - you could use the standard Account Controller.