Hi,
I generate shapes based on the rows of a Modules table. For each row a DVE exists (although this table is not the basis for the DVEs). From the generated rows and using their indices and some regex wizardry I can also display related data from other tables which all use the same indices.
One such table contains the DataMiner/element ID of the related DVE. I can display this value. But I now want to create a link to that DVE as well. I played around with the Enabled=True tag and the AllowInheritance=False and ForcePropertyFromParent Options, but I cannot get it working and I doubt it is possible at all since at one hand I want the data to be recognized and resolved from the child component which is linked to the element, but then on the other hand I want to get rid of this linking and be able to link to another element (the DVE).

Hi Alberto,
Thank you for pointing me in the right direction. A similar approach was apparently already implemented by my dear colleague Stijn Declerck, but starting from a table parameter.
I now also managed to pull this off: clicking the Select on a "row" fills in a session variable which is used as an Element reference in the "Open DVE" shape.
This required even more wizardry which actually made my eyes bleed.
Scroll down for details (at your own risk).
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Interesting use-case: not an expert on newer ways to achieve this, but wondering if you could use a session variable to contain the DMAid/ElementID and then use the value to link the generated shape?
Subscribing to read more from the community.