With the Execute page level shape data combined with SetTrigger=ValueChanged and the ExecuteSetsOnInit option I can get a script to run when opening the visual overview (confirmed by logs). However the variable that should contain the output (using engine.AddScriptOutput) from the script is not populated. Triggering the exact same script from clicking a shape-button in the visual overview populates the variable as expected.
How do I get the output into a variable from an automation script running on card open?
Hi Robin,
Is it possible that your shape-button defines option cardVariable or pageVariable, while this one isn't defined on the page options?
If these are the same, can you try by adding option SetVarOnFail=true on page level?
Does this mean that you found a way make it work?
Kind of. See other answer for details.
This didn’t solve it directly but helped me with the troubleshooting.