Hi Folks!
Launching a script from a generated group linked to a service - visio assistance.
I am looking to see if it is possible to launch an Automation script that is inside a generated shape (group) from a list of services whilst passing in service information as a script parameter.
Current Situation:
- I have a list of services that 3we are using to generate groups of shapes i.e. service_1;service_2;service_3
- Currently, these shapes set a variable on click which I use elsewhere on a visio page
New Changes:
- Adding a new Shape inside the group
- Linking this shape to an Automation Script via execute
- Adding script params such as [this serviceid] to the shape doing the execute.
The problem I seem to be having is that if I want to use the service information in the variable, I need to bring in ForcePropertyFromParent, but in doing so this is linking the shape that I want to use to trigger the script to the associated service which then means that the shape will open the cube card for the service and not launch the script. The inverse, AllowInheritance=False of NoCopyElementProperty disable he link as would be expected but then mean that I can no longer access the service name property that I need to trigger the script correctly
Is there any way that I can specifically disable the linkage to the card on button press of the shape whilst still maintaining the link to the service so that I can use the properties as placeholders in the shape data for execution?
I have experimented with ParentTableIndex etc however I don't think this is availale to me as I am generating based on services in a list not from the table row.
Any pointers would be greatly appreciated!
Many thanks
Oliver