The goal is to assign a visio file (.vdsx) to an element, via protocol.
I found the NotifyType(444) /*NT_ASSIGN_ELEMENT_VDX */
...which appears to do what I want, but I cannot find how to make it work.
Guilherme Gaspar [SLC] [DevOps Advocate] Selected answer as best 28th June 2024
Hi Guilherme,
Following up on the comment you made here to Miguel's answer, you should be able to use
- CreateElementFileMessage call to create the visio file properly (named Element_[dmaId]_[elemId].vdsx)
- GetInfoMessage with the Type VdxFileChangeInfo to retrieve the last change time if you want to double check it has been updated (see screenshot at the bottom of the answer)
- UpdateElementActiveVisioMessage to set the visio to the element
Guilherme Gaspar [SLC] [DevOps Advocate] Posted new comment 28th June 2024
That’s it!