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 to customize Order Confirmation dialog in Service Catalog

TY10
Mega Contributor

Hi.
We want to know how to customize Order Confirmation dialog in Service Catalog.
The requirement is:
1. Can the requesting user be made uneditable and can be made read-only?
2. Can the delivery information (optional) be hidden?
3. Can special instructions (optional) be hidden?

 

1 ACCEPTED SOLUTION

Comment from line 27 to 38 in HTML,

find_real_file.png

 

View solution in original post

21 REPLIES 21

Narendra Kota
Mega Sage

The Order Confirmation dialog is configured in Catalog Checkout (sc-checkout) widget.

For the catalog Items, Catalog Checkout (sc-checkout) widget is called in SC Catalog Item (widget-sc-cat-item-v2) server script line 23.

1) Clone sc-checkout and update the new widget id in SC Catalog Item (widget-sc-cat-item-v2) server script line 23 by cloning.

2) Comment line 28 in cloned sc-checkout widget (HTML) to hide delivery information (<!-- code -->)

3) Comment line 36 in cloned sc-checkout widget (HTML) to hide special instructions (<!-- code -->)

 

Hope this helps.
Mark helpful or correct based on impact.

Thanks.

Thank you for your answer. I want to know how to reach the Catalog Checkout widget. I searched on Widget screen with "name= Catalog Checkout", but I could not found it.

TY10
Mega Contributor

I find Catalog Checkout widget in "Service Portal > Widget".

But, I can not find "SC Catalog Item (widget-sc-cat-item-v2) server script", so please tell me how to reach this server script.

I find Catalog Checkout widget in "Service Portal > Widget".

But, I can not find "SC Catalog Item (widget-sc-cat-item-v2) server script", so please tell me how to reach this server script.