Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Rich Anderson on August 08, 2019, 08:20:04 am

Title: How to indicate a note is linked to an element Note?
Post by: Rich Anderson on August 08, 2019, 08:20:04 am
Hopefully, this is a simple question, but I can't find the answer.   If I'm generating a diagram with the API and want to include a note on the diagram that is linked to the note property in the Element, what do I need to do?  I can see that I need to create a NoteLink type connector, but what do I need to set on that connector to link it to the Element note property?
Title: Re: How to indicate a note is linked to an element Note?
Post by: qwerty on August 08, 2019, 08:37:46 am
P. 10 (Inside):
Quote
PDATA1 For Notes: linked element feature name
is likely what you're after?

q.
Title: Re: How to indicate a note is linked to an element Note?
Post by: Rich Anderson on August 12, 2019, 11:19:21 am
Yes, Thank you.  I have been avoiding Inside EA because I didn't want to start messing about in the database, even though I'm pretty good at them.  I was able to use your hint along with your book to figure it out.  What I am doing is cloning diagrams from one notation to another and need to clone the linked note feature.   Once I saw what it was doing, i was able to get it working pretty quickly!