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

How to add Edit button in a related list on Agent Workspace?

Pavuluri Vamsyc
Kilo Expert

All,

I'm configuring a custom form layout in Agent workspace.

I have added a related list on to the layout, but I'm not finding any option to update the below stuff:

1) New button is visible in the Related list by default. But I'm unable to add Edit button.

2) Update List layout of the related list columns.

 

Could somebody please help!

 

Regards,

Vamsy

 

19 REPLIES 19

Hello kashifansari07,

1.  Check the 'New' Related List Action on the Change Request table.  It may have a script condition that limits it to just parents that are associated with the Incident table and Problem table.  You can clone this action to create a dedicated one for the change_request table.

2. The change_request.parent relationship is a one-to-many so update the attribute type to 'o2m' and I would make the view set to 'Workspace' to ensure it is displayed on the Workspace view of related lists.  Also, I would leave the 'referencedFieldName' value as 'Value'.  I think it defaults to the sys_id but have not had to use this attribute yet for another association.  

3. I haven't had to do this one yet, but there is a 'remove' action for change requests on the Problem table.  I would clone this and configure it for the change request table.   

Hope this helps.  

i tried creating the 'remove' action on the change_request.parent related list, it seems not to be working. Below is the snip of the action configured

thank you @d.cammack it helped

Chaitanya Naidu
Tera Contributor

Hello Vamsy,

We need to use the combination of "Add" and "Remove" related list actions in the Agent workspace to replicate the Edit button functionality in UI16.

https://instance.service-now.com/sys_declarative_action_assignment_list.do?sysparm_query=model%3Dd91731a9534723003eddddeeff7b121c%5ElabelSTARTSWITHAdd%5EORlabelSTARTSWITHRemove%5Etable!%3Dem_alert%5EORtable%3DNULL&sysparm_view=list_action