The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to add a button to a catalogue item within a list in a workspace page?

matthew_hughes
Kilo Sage

In the below list in my workspace , I'm wanting to add a new button that will take the user to a particular catalogue item on our service portal:

matthew_hughes_0-1756467832687.png

 

I don't have much experience with workspaces or UI Builder and I was just wondering if anyone has done something similar before.

 

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

@matthew_hughes 

check this

Adding a Record Producer or Catalog Item button to the list view in Agent Workspace List Action 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

RaghavSh
Kilo Patron

Try below:

 

1. Type "declarative action" in left nav and open list action.

2. Create new , give name , action name, Implemented as = client script.

3. Select View  as "service operations workspace" and Table on which you want the button,

 In the client script add below code:

location.href = 'URL of your catalog item';

Raghav
MVP 2023
LinkedIn

Where do I find the client script as that field doesn't appear on the form?

If your implement as is selected as "client script", then change the view of form to advanced , you will see it.


Raghav
MVP 2023
LinkedIn