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 add new field to Order Confirmation dialog in Service catalog

Shubham_1120131
Tera Contributor

Hello Everyone, 

 

I want to add two new field in the Order confirmation dialog box in Service Catalog. I have also created two field which are: - 

Expedite Request 
Pickup Person 

In Requested Item table as well (sc_req_item). 

 

My requirements are: 
1. How can remove Delivery Information and Special Instructions for the dialog box?

2. How can I add Expedite Request ( choice field with Yes/No) and Pickup Person (reference to user table) in dialog box in Service Catalog. 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Shubham_1120131 

 

You can hide it here

 

AGLearnNGrow_0-1714569782018.png

 

Catalog -- Properties

 

I doubt we can do new dialog box , that will required a new widget and full length code. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG , Thank you for your reply. I guess my solution would be creating a new widget altogether. 
I found out that Catalog Checkout is the name of the widget over which I have to make changes after cloning it. 

Could you please help me by letting me know What part of the HTML and Server script I should change in order to achieve my goal. 

I thank you in advance for your time and help. 

Shubham 


Hi @Shubham_1120131 

Greetings!!

 

I am not sure about scripting and code, but I will say avoid this customization.  Better found a way, on the user input the request expedite or not. Like if a logged in user is VIP or some other way, that is better and easy to do.

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************