I have a script and at the end I parse the output back to the visual overview with the following command:
engine.AddScriptOutput(UIVariables.VisualOverview.CreateKey("varSelectedPupC"), fadername);
I even verified that the value has being set correctly with the following commands:
string test = engine.GetScriptOutput(UIVariables.VisualOverview.CreateKey("varSelectedPupC"));
engine.GenerateInformation(test);
Now here is the problem:
When I execute the script from a shape with execute, the value is correctly parsed, and everything works fine.
However, when I execute the script from a page level with execute and with Trigger=ValueChanged and the value of the variable that I monitor changes, the exact same script is correctly triggered, but the session variable does not get parsed back to the visual overview and its value stays unchanged.
What is going wrong?
Hi Peter,
What you're asking seems to be the same issue as David was encountering:
Visio automatic Execute does not update session variable - DataMiner Dojo.
The page execute will seemingly always use the cardvariable instead of other scopes.
If you would change your Visio visualization to "cardvar:your_variable", it should be shown when executing the script.
I'll look into raising this issue internally and updating the documentation in the meantime to make this more clear.