Catalog Checkout widget -Requested for field should populate based on catalog item variable

Manoj50
Tera Contributor

Manoj50_0-1695212296832.pngManoj50_1-1695212437882.png

When I am trying to order an catalog item from portal In the requested for Variable I have selected system administrator when i click on Order Now button , on catalog checkout widget it is showing Logined in user  . How to change requested for value to variables requested for  as showned in the above image 

I am check on catalog widget ,someone can help me to resolve the issue 

 

Thanks in Advance 

 

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Manoj50 

 

Greetings!!

 

It is Catalog Checkout widget. Please refer the link for more details

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0723600

 

*************************************************************************************************************
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]

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

Hi @Dr Atul G- LNG ,

 

I have cloned the widget can you please help me where do  i nee to make changes on the script an you please help me to achieve this.

Thanks in advance 

Sorry buddy, I am not a coder, but if you read the code you will get the idea.

*************************************************************************************************************
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]

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

Community Alums
Not applicable

This requires changes to Widget and we always avoid customizing this especially as its used for all the catalog forms and I am sure you must be already aware of this.

As Atul has already given you the reference, you should make the changes to the Client Controller and Server Script by taking a copy of Catalog Checkout Widget.

 

If you are looking for further assistance on what to update. Let us know.

 

Thanks,

Keerthi