Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How can I use css on catalog item

JuliaWeis98
Tera Contributor

Hi guys,

 

I would like to ask, if it is possible to customize the "Create Incident" Page? (With customize I mean, that I can customize this page or the widget "SC Catalog Item" on this page with css)

 

JuliaWeis98_0-1763559652346.png

 

My goal is, when I open create incident, that only for this specific catalog item a customized and nice designed page appears.

JuliaWeis98_1-1763559699578.png

 

I know, that catalog items normally using the "sc_cat_item" page. So do I have to clone this "sc_cat_item" page? 

 

But the the next question would be, how can configure ServiceNow that when a user clicks Create Incident, it always opens my cloned version of the incident creation page?

 

Thank you 🙂

 

 

5 REPLIES 5

@JuliaWeis98 The answer you are following seems to be AI generated and is not valid as per my knowledge.

There are page route maps which work on service portal for redirection but they are not specific to catalog item (you cannot redirect a particular catalog item using that).

 

Try below:

Create a onLoad catalog client script  on your create incidenr record producer with below code:

 

top.location.href='/sp?id=sc_cat_item_incident?sys_id='; //pass the sys_id of incident record producer. Isolate script of this script should be false. "sc_cat_item_incident" is the id of your  new page.

 
Please mark the answer correct/helpful accordingly.

 


Raghav
MVP 2023
LinkedIn