
- 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
08-18-2020 04:46 PM
Hi Sindhu and Tim,
I did play around with your requirement and Yes you can achieve it by editing the code. In the Service portal "SC order Guide" widget -
- comment out Line 70
- From line 75 insert the below code:
if (item.sys_id=="catalog_item_sys_id") { //input the sysid of catalog item which you want to disable to toogle for
item.included = false;
gs.log("Hiding the toogle field for" + item.sys_id);
}else {
item.included = true;
}
The above code make the toggle button disable for the catalog item you input in the if clause. i did try on my instance which looks like below
I recommend to create duplicate of the OOB widget and try doing it. Hope it helps
Cheers,
Arsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 08:27 AM
I realize this may be a longshot, but you don't have happen to still have those screenshots, do you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 08:13 AM
Hey, I have the same need, could you please upload the screenshots? It would be a great favor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 06:30 AM