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

How to hide 'Related List Actions' from workspace based on condition?

Snehal Madakatt
Mega Sage

Hi Developers,

 

I want to hide the button 'Add other Entities' based on condition from the related list. Can someone help me on this please.

SnehalMadakatt_0-1702391050681.png

SnehalMadakatt_1-1702391109254.png

Show the below button 'Add other Entities' based on this condition==> If Engagement type is 'Internal Audit', show the button, else hide it for other types.

SnehalMadakatt_3-1702391204673.png

 

I tried below, but it didn't work,

SnehalMadakatt_4-1702391430736.png

Regards,

Snehal 

 

 

 

 

2 REPLIES 2

Anand Kumar P
Giga Patron

Hi @Snehal Madakatt,

To hide the add entities button on the related list in Agent Workspace, utilize a Declarative Action Assignment in the ‘sys_declarative_action_assignment’ table. Choose add entites table as the table, set the action model to ‘Related List,’ and leave the Enabled checkbox unchecked and try to apply conditions.

Mark it helpful and solution proposed if it serves your purpose.

Thanks,

Anand

 

Sujatha V M
Kilo Patron
Kilo Patron

Hi @Snehal Madakatt 

 

Can you try adding the syntax in "Script Condition" box instead of "Record Conditions"?

 

Mark it as helpful and solution proposed if it serves your purpose.

Thanks,

Sujatha

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.