How to create a custom UI Action button on Workspace list view

Hari S1
Tera Contributor

Hi all,

I want to create a new UI Action button on the list view in Service Operations Workspace.

The requirement is

  • The button should appear on the list view (for example, on the em_alert table).

  • When a user selects one or more records and clicks on the button, it should perform a custom action (like updating a specific field or showing a dialog box for input)

I know how to create a UI Action for the classic UI list view (by checking “List banner button”) but I’m not sure how to make it visible and functional in the Workspace list view (like Service Operations Workspace or Agent Workspace).

 

 

 

Thanks

 

6 REPLIES 6

Sarthak Kashyap
Kilo Sage

Hi @Hari S1 ,

 

I tried your problem in my PDI and it is working fine,

 

Please check below solution 

 

Please navigate to All> Now Experience Frame Work> Declarative Action> List Action (sys_declarative_action_assignment table name for your reference). Create new List action,

SarthakKashyap_0-1760855566170.png

SarthakKashyap_1-1760855628690.png

 

 

Result

SarthakKashyap_2-1760855666727.png

 

You can also configure more this above button like, you can see the count of the selected items and read only when nothing is selected 

SarthakKashyap_3-1760855798348.png

SarthakKashyap_4-1760855824809.png

 

 

You can write your own script as per your requirement. Here is sample script 

current.assigned_to = gs.getUserID();
current.update();

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

 

 

Hi @Sarthak Kashyap , 

 

Thanks for the quick help. 

 

Is it possible to show the same UI action button on the Express list view?

 

 

 

 

Thanks

Hi @Hari S1 ,

 

Yes you can give the table name and it will appear there.

 

Pleae mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

Hi @Sarthak Kashyap , 

 

 

Actually, we’re trying to display the UI Action button on the Express List within the Service Operations Workspace. However, I don’t see any specific table name associated with it.

 

 

Thanks