setVariable() is the command that the connector uses to update the value for the variable, so while it is resolved behind the scenes it does add a little confusion to the equation.
I just did this myself and noticed that as well. It looks a bit weird but as you noted it works.
So this form seems to be using hub variable connectors.
Bruce states in the future connectors will go away.
It is possible for webcore to use the new 2.2.8 and later hub local variables directly.
The questions I have to webcore folks:
- Do you want to use local hub variables directly?
- What syntax would you like to access them
- it likely would be easiest to replace global variables to be hub - ie @variablename would reference the hub variable 'variablename'
- another choice would be to have another 'indicator' that a variable is a hub variable (vs using the '@' for this).
- another choice is use the @@ syntax, which in webcore means super variable that is shared
thoughts?
Don't use them often, but would seem to be desirable
My Vote -> replace global variables to be hub - ie @variablename would reference the hub variable 'variablename'
Yes, I have started using them lately.
Yes!
Yeah, not exactly intuitive, but you got there. Good!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.