Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: office_notes on July 12, 2019, 06:02:11 pm

Title: Add properties to attributes
Post by: office_notes on July 12, 2019, 06:02:11 pm
Hello. I'm trying to export classes' information through a JavaScript script that I've implemented inside EA. I would like to define new properties for the attributes, like: is this attribute a list? Could it be optional?

For this reason, I was thinking to add this properties like the ones already defined by EA (image below). Is it possible to add new properties?

(https://i.ibb.co/DL8yyj6/Capture-XX.png)
Title: Re: Add properties to attributes
Post by: qwerty on July 12, 2019, 07:04:20 pm
No, those can't be extended. Instead use tagged values (right tab in your pict; the EA name for stereotype properties) for that purpose.

q.
Title: Re: Add properties to attributes
Post by: Eve on July 15, 2019, 10:14:58 am
Further to what qwerty has said, in EA 15 your profile tagged values will show in the same list as the built-in attribute properties. So it's closer to what you were initially asking for.