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

Arsh2
Tera Guru

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.

find_real_file.png

Thanks,

Arsh

1 ACCEPTED SOLUTION

Arsh2
Tera Guru

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

 

View solution in original post

13 REPLIES 13

servicenowavina
Tera Contributor

Hi Arsh,

Is it possible to remove the toggle button for a particular catalog item?

we need a catalog item that is always included(means no option for toggle).

Please share your suggestion.

servicenowavinash89,
 
Did you ever get an answer to your question?  I have a similar need - to either remove the toggle for a single item or to leave it read only with ON selected by default.
 
I look forward to anyone's reply.
 
Tim

Hi Tim, please refer to my reply below. hope that solution might help you. Cheers

rhondaw_
Kilo Contributor

I am looking for the same solution.  I have one item that I want to always be included in the order guide and do not want the toggle to be turned off.  It needs to be "true" but read-only.

Please advise if anyone knows how to do this.

Thanks,

Rhonda

Sindhun
Tera Contributor
servicenowavinash89,
 
Did you ever get an answer to your question?  I have a similar need
 
-Sindhu
Sindhu Nalluri