
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2018 05:08 PM
Hi Community,
How to set the toggle button to not include items by default when the form loads on "choose options" tab in SC order Guide Widget?
Currently it's includes all the items by default by turning on the toggle button to right.
Could you please advise how to achieve this? I want users to select the options what they require by turning on the toggle button.
Thanks,
Arsh
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2018 09:06 PM
Hi Stephen,
Thanks for your reply. I found the solution for my requirement.
All you have to do is to set the value to "False" in server script of the widget.
item.included = true;
This will enable the items to "NOT INCLUDE" by default.
Cheers,
Arsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2018 08:06 PM
Hi Arsh -
Order Guides include Catalog Items when conditions are met in their configured rule-base. If a condition is met, then it is included and the toggle is available to remove it from the order if it isn't actually wanted by the user. If you don't want specific items showing up, then the rule base conditions need to be modified.
How to add a rule to Order Guide - https://docs.servicenow.com/bundle/london-it-service-management/page/product/service-catalog-manage...
Order Guide Form "Rule Base" related list
Rule Base form with conditions
If you don't want the toggle at all, you can remove it by changing this value to false
Please mark correct and/or click helpful if this answered your question

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2018 09:06 PM
Hi Stephen,
Thanks for your reply. I found the solution for my requirement.
All you have to do is to set the value to "False" in server script of the widget.
item.included = true;
This will enable the items to "NOT INCLUDE" by default.
Cheers,
Arsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2018 05:07 AM
I'm glad you were able to find the right solution. Thanx for sharing the end result!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 11:35 AM
Hi arsh, can you please give us the name of this script? thanks!