SC Order Guide Server Script If Clause for checkbox/Variable from Order Guide

MaximilianZ5054
Tera Contributor

Hi everyone,

 

we currently have a Order Guide where people pick their company role (for example manager) in the 'Describe Needs' through a select box to automatically create tickets for specific things. Because of this we activated the "show include toggle" because they aren't supposed to deactivate the items.

 

But this is very static, so we thought of including a additional role "all items", where people could manually select what they need. Which would require deactivating the "show include toggle".

 

We assumed that this isn't a big deal. Because you can just implement a if clause in the server script of the SC Order Guide, to deactivate/activate the data.showIncludeToggle manually. But it seems that getting the value from the order guide is much harder than assumed. 

 

Is there a easy way to only partially activate the toggle? Or is splitting the order guide in two the only option?

1 REPLY 1

G Ponsekar
Giga Guru

Hi @MaximilianZ5054 ,

 

While there is no straightforward way to dynamically control the "show include toggle" within the standard Order Guide server script. The core limitation is that the data.showIncludeToggle is a static setting for the Order Guide, not a property intended for runtime manipulation.

The simplest solution is to Use Second Order Guide

 

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

 

Thanks, GP