How to remove a button from a related list?

vidhya_mouli
Giga Sage

Ho do I remove Initiate Assessment button from this related list?

 

vidhya_mouli_0-1702281537706.png

 

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

Hi @vidhya_mouli 

From this related list header, right click and select Configure -> UI Actions from the list of UI Actions, open the record for Initiate Assessment and add the condition !RP.isRelatedList()

 

If you already have other conditions add this condition at the end & !RP.isRelatedList()

 

Note: This will hide this UI Action in all related lists not only on this form.

 

If you want it to be hidden on only a specific table form, add the following condition (parent.getRecordClassName() != 'YOUR_TABLE_NAME' && !RP.isRelatedList())

 

Please mark my answer helpful and accept as a solution if it helped 👍✔️

Thanks,
Anvesh

View solution in original post

3 REPLIES 3

Samaksh Wani
Giga Sage
Giga Sage

Hello @vidhya_mouli 

 

Right-click on the form Header.

 

Configure > Related List.

 

In the Selected section you will find that button, remove it from there.

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @vidhya_mouli,

 

on the realted list navigate to Configure > UI Action.

open the 'initate assessment' UI action adjust the condition of visiblity based on buisness needs. This will show/hide the ui action accordingly.

 

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

AnveshKumar M
Tera Sage
Tera Sage

Hi @vidhya_mouli 

From this related list header, right click and select Configure -> UI Actions from the list of UI Actions, open the record for Initiate Assessment and add the condition !RP.isRelatedList()

 

If you already have other conditions add this condition at the end & !RP.isRelatedList()

 

Note: This will hide this UI Action in all related lists not only on this form.

 

If you want it to be hidden on only a specific table form, add the following condition (parent.getRecordClassName() != 'YOUR_TABLE_NAME' && !RP.isRelatedList())

 

Please mark my answer helpful and accept as a solution if it helped 👍✔️

Thanks,
Anvesh