Hi, is there a way in which I could open a VdxPage which on opening executes a script and sets variables. I have been testing this on DataMiner (10.2.7.0-11922) and I can seemingly only have one or the other. Removing the Execute option enables the page to be opened correctly but the script obviously no longer exists, inversely, when removing the SetVar and leaving the Execute the script runs and the page is blank - this also occurs when both Execute and SetVar properties are added to the shape (Seemingly the Execute takes precedence and the SetVar is no longer actioned.).
I have attempted to utilise a variable as a trigger which is updated when the page is opened, this however doesn't appear to work. I can see that the variable is being initialised and set correctly but unfortunately the trigger does not seem to be executed on ValueChanged.
Here is the Execute script structure I am using.
Script:Playout_AcknowledgePenaltyBoxAlarmCloud||ServiceName=[this service];ParameterDescription=[param:*,2502,[tableindex]];Bus=[var:PenaltyBoxBus];User=[thisusername]|Options:NoConfirmation|SetTrigger=ValueChanged
As mentioned above, PenaltyBoxBus is being changed, I can see this through a label I have placed for testing this change. It however does not execute the script as I would expect it to.
Any help would be greatly appreciated.
See this question: https://community.dataminer.services/question/visual-overview-execute-automation-script-on-vdxpage-popup
The below solved it for me. I added the execute shape data on the button that opens the popup. I had to use the option 'NoCopyElementProperty' to make it work.