In this example I have a Visio drawing associated with a view. In it are two shapes for sub-views. I have a DropTarget that is executing a script that will do some actions on elements in the view selected.
The shape data of the DropTarget shape:
Now when I drag over the View shape (View01 or View02) I get a prompt as I expect for the automation. The question is how do I pass the View information to a script? I tried creating a "View" parameter as you see here just to guess but it didn't work. I also have the same question for passing an object connected to a service for a DropTarget. The examples I've seen all use dummies for passing element information but nothing for a View or Service. Thanks for any tips!
Hi Cyrus,
As far as I know, the drag and drop feature only works with script dummies. This means that views are currently not supported.
For services, indeed, I performed a small test and generic services are not taken into account. However, it works for enhanced services (the dummy defined in the automation script should point to the service protocol)