Ability to Hide the third tab Summary option on the SC Order Guide widget

Bryan Abernathy
Tera Contributor

 

Hello! I am working on a custom workflow, order guide that involves allowing users to book travel and items through a travel coordinator through ServiceNOW. We decided to use an order guide to fulfill this request. Unfortunately, the prices of these items aren't exactly known until a quote is provided so the Summary tab is a bit confusing for users. Is there a way to hide this third screen on the widget?

find_real_file.png

Looking for users to have option to simply Order NOW from the Add options screen

find_real_file.png

 

 

 

 

 

17 REPLIES 17

That only does it for back-end. Try it there and you'll see it's gone.

Again, for the SP, it's all handled through that widget, so you'd have to make some minor edits to it to remove it from there.

THAT edit is far easier, then removing the entire summary, etc.


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

Megh
Tera Contributor

Even we had a similar kind of requirements. Unfortunately I could not find any config changes to hide summary tab. We had to do some code fixes. What we did was we did not allowed users to go to the third screen of the widget. So After second screen Next button will not be displayed and we displayed the Order Now/Submit Button Directly on the Second Screen which validates all the sub-forms and mandatory fields and if all looks good it goes ahead and submits it!

 

I hope This Summary helps! Mark Helpful it helped you.

Hi,

Could you please give example of code used to make this happen.

Yes, how did you make that happen?

Megh
Tera Contributor

Sure here is the procedure to do it. Version Valid is "New York" and ahead.

Order Guide Widget is a Three Step Process:

Step 0: Describe Needs

Step 1: Choose Options

Step 2: Summary ( We have to remove this )

On the HTML. Comment out this partwith <table> element under guide_step==2

find_real_file.png

On the Client Script Comment out the Following Part. This ensure that guide step = 2( Which is the summary step ) never happens!

find_real_file.png

When you are Step 1 Process . You will have to make sure all mandatory items are filled up. Since you will make the submit button available on step 1 and hide the next button in step 1.

For Mandatory Check Requirements i had to do something like this in the widget client script.

find_real_file.png

find_real_file.png

Also I have attached the my custom widget Without Summary Tab. Import it and start using it.

Tested in New York Version. Some of the functionalities in th ewidget i have nott touched, since we do not use but you can also customize further as per your need.

Mark Helpful, if it helped you!