Search code examples
add-inenterprise-architect

EA Addin ActivityParameter Content


I created an addin in C#. When I get an activityParameter Element via API Repository.GetElementByID(..) or Repository.GetElementByGuid(..), I can not find Type and Direction in information provided by these two APIs.
Via Repository.SQLQuery(...) I see the Type in Pdata1, but still can not find Direction, also it will be better if I can find Type in the Element object

enter image description here


Solution

  • You will find these in t_xref with name="CustomProperties". It's in the Description and you will likely be able to decode the CSV therein.

    Not sure, but likely the API offers them under CustomProperties.