Hello,
I am working on a visio view which dynamically generates shapes. I am looking to add a button which can open a vdxpage for another element dynamically
For each shape I am defining a button to open a VdxPage for another element in a window.
I can confirm that the button to open the page (defined statically at this point rather than trying to use variables) works when not defined as part of the generated shapes but when the button is generated the window opens for the view but only shows a blank screen / white window with no content.
I wondered if anyone has come across this before / knows what I might be doing wrong?
Many thanks
Oliver
Hi Oliver,
It might not be the exact same use case but I had a similar one recently. Have a look at this question. I am not sure how you generate your shapes dynamically (based on the Child Items feature I assume). Remember that by default shapes will inherit the properties from the parent. A shape which is dynamically generated will also by default inherit its link to the object it was generated from (another element). In case you want this shape to open another element, you can try to add Options Shape Data with value: AllowInheritance=False.
More information on this as well on this documentation page.
Hope this helps.
Thank you very much this has solved the problem for me and allows me to open the visio pages as expected.
Hi, would it be possible to add screenshots or more info on what properties you have on your shapes?