Hi:
I have a button in a mimic shared and used by multiple VIEWs. I can configure the button to trigger an Automation script. But i was not able to make my automation script to know which VIEW triggered the automation script. Is there a way that in the Automation script to know which VIEW triggered the automation script?
Thanks
Hi Miao Miao,
When linking a shape data to an automation script (see DataMiner Help), you could use the placeholder [this view] to make a reference to the view to which the Visio drawing is linked . For example:
Script:testAutomationFromView||ViewName=[this view]||Run My Script|NoConfirmation
In this case the value of the script parameter 'ViewName' will be set to the name of the view to which the Visio drawing is linked.