We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Add UI Action to Related List in Workspace

vidhya_mouli
Tera Sage

Contract (ast_contract) has a related list, Project team (u_m2m_project_team)

 

I have a custom UI action which will call a UI page to add roles. 

 

Button.png

 

This button appears in ast_contract. Instead I want to make it appear in the related list, Project team (u_m2m_project_team)

 

Workspace.png

 

How can I do this?

 

1 ACCEPTED SOLUTION

@vidhya_mouli ,

For this select the implemented as client script then no need to add any client actionScreenshot 2026-03-12 at 1.40.30 PM.png

and add your script directly in the client script block where i am showing the arrow in the down-side of the image.
If my response helped, mark it as helpful and accept the solution.

View solution in original post

6 REPLIES 6

Dinesh Chilaka
Kilo Sage

Hi @vidhya_mouli ,

It is not possible to show the button only in the related list using the UI actions, instead you can create a related list declarative action by typing the related list actions in the all navigator click on the module under the Declarative actions application as shown in the below, create a new record  and give the table name as u_m2m_project_team

Screenshot 2026-03-12 at 1.25.04 PM.png

Select the implemented as client script and copy paste your script from ui action script and save it.Now you can see the a declarative action in the Related list.

If my response helped, mark it as helpful and accept the solution.

I tried doing this. But this is asking for Specify client action which is basically a payload. I am not sure how to configure payload for my requirment.

 

 

@vidhya_mouli ,

For this select the implemented as client script then no need to add any client actionScreenshot 2026-03-12 at 1.40.30 PM.png

and add your script directly in the client script block where i am showing the arrow in the down-side of the image.
If my response helped, mark it as helpful and accept the solution.

When I tried this and saved the record, it throws an error asking for some Modal Action. Not sure what it is expecting. Do you anything about it?