Raghav Sharma24
Giga Patron

@ItsLarry You need to find the declarative action "New". I answered the same in the below link:

 

https://www.servicenow.com/community/creator-studio-forum/how-to-add-a-button-to-a-catalogue-item-wi... 

ItsLarry
Tera Contributor

It seems like I can't get the URL for the service catalog without the request being attached to an incident

@ItsLarry service catalog URL is fixed, I believed you are looking for the RITM or sc_request URL attached to some incident. Since you want the button on list view and req/ritm gets attached to particular incident, what you are looking for might not be feasible.

View solution in original post

@ItsLarry Was the explanation as per your requirement?

Harvant Singh
Tera Expert

Hi Larry,
This can be done by defining a "Declarative Action".
Steps:
Go to Left Nav and type "Declarative Action" and select "Create New Action".

HarvantSingh_0-1758634222173.png

Select "List" as you want this action to be on List View.

HarvantSingh_1-1758634296540.png

Put in the action name and
select "Client Script" in Implemented as field
View as "Service Operations Workspace"
Table as "sc_req_item"
and add the client script referring to the URL to open a Service Catalog Window on SOW.

HarvantSingh_2-1758634457983.png
UI Action on SOW List view of Requested Items:

HarvantSingh_3-1758634746996.png

Clicking the UI action redirects to Service Catalog page within the Workspace.

HarvantSingh_4-1758634909899.png

 

 



View solution in original post