Altering the confirmation order on the service portal

Ayman Lhend1
Giga Guru

Hello, 
I'm trying to modify the Order Confirmation widget on the portal, so that when the user finishes picking the catalog items he needs, he'll be asked to enter some information concerning the request as a whole, so that it can be persisted on the sc_request table for later use.

find_real_file.png

So far I have trying meddling with the SC Checkout widget's code, but to no avail, if anybody has an idea on how to achieve this it will be much appreciated, thanks !

1 ACCEPTED SOLUTION

Ok, we don't know what you know...or don't know...unless you tell us.

So it was not obvious from your post that you referenced the same thread I pointed to nor was it obvious that you're struggling in the server script portion, specifically.

I'd recommend to review documentation/tutorials on how to work with widget script and then most importantly...you're employed with a ServiceNow partner, correct? Please speak to your peers there as you can easily communicate with those resources and get assistance much faster than on the forums (as you can connect right on your chat channels and share screen, etc.).

Here's some links about building widgets and such:

https://docs.servicenow.com/en-US/bundle/sandiego-servicenow-platform/page/build/service-portal/conc...

https://rickyxiaoyang.medium.com/a-beginners-guide-to-servicenow-s-service-portal-widgets-285843bcd4...

https://community.servicenow.com/community?id=community_question&sys_id=e901d1afdb0aa7c0afc902d5ca96...

There's tons of other threads where people have asked how to communicate from one part of the widget to the other, you'd just want to search for those. One of those links is also noted above to help get you started.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

6 REPLIES 6

Allen Andreas
Administrator
Administrator

Hi,

Please refer to this thread for general guidance.

Essentially, you'd have to clone the widget and then make edits as needed. You'd then need to pass that information to the server to then update the Request record and related fields that you're talking about.

https://community.servicenow.com/community?id=community_question&sys_id=434daedfdb52c8106064eeb5ca96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Yes, i've already cloned the needed widget for this, that's how i managed to add that type field on the order confirmation widget (i also ran into the same thread you posted in your reply !) The issue that i'm stuck with is how i'm supposed to pass the information to the server, i am completely lost in the widget's client/server scripts.

Ok, we don't know what you know...or don't know...unless you tell us.

So it was not obvious from your post that you referenced the same thread I pointed to nor was it obvious that you're struggling in the server script portion, specifically.

I'd recommend to review documentation/tutorials on how to work with widget script and then most importantly...you're employed with a ServiceNow partner, correct? Please speak to your peers there as you can easily communicate with those resources and get assistance much faster than on the forums (as you can connect right on your chat channels and share screen, etc.).

Here's some links about building widgets and such:

https://docs.servicenow.com/en-US/bundle/sandiego-servicenow-platform/page/build/service-portal/conc...

https://rickyxiaoyang.medium.com/a-beginners-guide-to-servicenow-s-service-portal-widgets-285843bcd4...

https://community.servicenow.com/community?id=community_question&sys_id=e901d1afdb0aa7c0afc902d5ca96...

There's tons of other threads where people have asked how to communicate from one part of the widget to the other, you'd just want to search for those. One of those links is also noted above to help get you started.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Oh, i'm sorry if i wasn't too clear in my question. Thank you so much for the tips, i will deep dive into the links in your reply, hopefully i can find a solution !