How to hide new/edit button on related list ( approval tab ) in all tables?

Tejaswi Gundu
Tera Contributor

Hi All,

 

I want to hide new/edit buttons of approval tab in related lists of all tables wherever it is available. It is only visible to the admin role users.

How to achieve this?

 

Thank you,

Tejaswi

3 REPLIES 3

Mary9
Tera Guru

You can find all of the Related Lists on the sys_ui_list_control table.

 

Then just filter on Related List = sysapproval_approver.sysapproval

 

Add the Omit New Button and Omit Edit Button columns to your list view and then you can change all of them to false.

 

Here is my query:

<your instance>/sys_ui_list_control_list.do?sysparm_query=related_list%3Dsysapproval_approver.sysapproval%5Eomit_new_button%3Dfalse%5EORomit_edit_button%3Dfalse

Thank you, Mary for your solution.

But it is showing the tables in which this approval tab is configured directly in related list. It isn't showing the extending tables which contains this approval tab.

This solution partially helps me. Thank you 

If you have any solution for the above query please let me know.

 

Hi Tejaswi,

 

Can you provide an example of one of the missed tables?

 

"It isn't showing the extending tables which contains this approval tab."

 

Thanks!