‎17-07-2020 11:16 AM
Hello,
I would like to know if there is a way, through API, to access to the Content direction information:
Thanks in advance for your help,
Valery
Solved! Go to Solution.
‎17-07-2020 05:26 PM
‎17-07-2020 12:35 PM
The attribute you mentioned is a link attribute stored in the MetaAssociation.
To get it you need to navigate from Message Flow to your content.
Here is an example of a script in VB Script that does what you need
oColMessageFlow = GetCollection("~CK0MCRcD9bV1[Message Flow]")
for each oMsgFlow in oColMessageFlow
oColContents = oMsgFlow.getCollection("~zVsPGacD9T30[Content]")
for each oContent in oColContents
print oContent.getProp("Name") & " - " & oContent.getProp("~uBPPgYsI9j50[Content direction]","display")
next
next
Result :
MEGA HOPEX Models::MEGA HOPEX::Any data in - Downstream
MEGA HOPEX Models::MEGA HOPEX::Any data out - Upstream
MEGA HOPEX Models::MEGA HOPEX::Existing Diagrams - Downstream
MEGA HOPEX Models::MEGA HOPEX::Persons / Users - Downstream
You need to adapt to Java.
Of course in this example we loop on all Message Flow and Al content. You need to adjust to the Message Flow or Content you need.
‎17-07-2020 12:09 PM
Java
Thanks
‎17-07-2020 11:18 AM
Hello,
Which API are you talking about :
?