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

How to check Related list tab name in Script Condition of Declarative action in Workspace ?

Virendra K
Kilo Sage

Hi All,

 

Scenario is, there is "Add" button declarative action created on "Incident Caused by CHG" related tab using Incident table. Same "Add" button is appearing to another "Incident Pending Change" related tab as well which is also referring to the incident table.

 

Requirement is, to hide "Add" button from "Incident Pending Change" related tab.

I need to put/check the condition in Script Condition but I am not sure how I could use/check related list name in/as a condition? 

I tried with RP object but seems workspace /UI builder won't support it.

 

How I could meet this requirement? please help me.

 

Regards,

Virendra  

1 ACCEPTED SOLUTION

Shruti
Mega Sage
Mega Sage

Hi

1.Navigate to Now Experience Framework -> Related list actions

2.Open the related list action you need to show /hide

3.Click on the advanced view related link

4.Update the client conditions 

Shruti_0-1760420430718.png

 

Assuming the label of the related list A is Test and related list B is Test1, as per the conditions the button will be visible only for related list A

View solution in original post

2 REPLIES 2

Shruti
Mega Sage
Mega Sage

Hi

1.Navigate to Now Experience Framework -> Related list actions

2.Open the related list action you need to show /hide

3.Click on the advanced view related link

4.Update the client conditions 

Shruti_0-1760420430718.png

 

Assuming the label of the related list A is Test and related list B is Test1, as per the conditions the button will be visible only for related list A

Virendra K
Kilo Sage

Thank you @Shruti   🙂
Its working