The CreatorCon Call for Content is officially open! Get started here.

How to hide custom button on related lists which have same relationship

sowmyaj
Giga Expert

Hi All,

 

I have relationships build on RITM and Custom table.

Example: Relation ship names are :  "Test", "Test1" and "Test2"

I also created custom ui action "Submit" and this is visible on all three related list, but I want this to show on "Test2" related list only.

Any idea on to this?

 

Thanks,

Sowmya

1 ACCEPTED SOLUTION

sowmyaj
Giga Expert

I have used below script on onload client script to hide the button on RL which is available on multiple RL.

$j('#button_id_name').hide();

View solution in original post

12 REPLIES 12

Anurag Tripathi
Mega Patron
Mega Patron

You can add this on the condition

 

current.getTableName()=='Test2'

-Anurag

Test2 is the relationship name not the table name.

Pranay Tiwari
Kilo Guru

Hi Sowmyaj,

 

Follow below step..!

and show button only where you want.

 

 

 

 

Right click on column then configure>List control then follow below image

 

 

 

 

 

 

Omit button that you don't want to show on every related list as you want.

 

 

Mark correct or helpful if it helps you.

 

Warm Regards,

Pranay Tiwari

| www.DxSherpa.com |

 

sowmyaj
Giga Expert

For more clarity, I'm attaching the screen shots,

 

In third related list, I'm seeing the custom button, which I need to hide as it should be only visible on last related list which is having same relationship.

find_real_file.png