Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Guillaume on November 03, 2014, 06:25:22 pm

Title: Adding a custom property to diagrams
Post by: Guillaume on November 03, 2014, 06:25:22 pm
Hi,
I'm writing an add'in which will update a number of flagged diagrams. I initially thought I could flag diagrams using tagged values, however these only exist for elements.

Is there a simple way, other than with stereotypes, even if it requires a DB SQL update, to flag diagrams? I need to store this information in the project itself, not in a user's property file, so that the list of flagged diagrams can be shared by all.

thanks
Title: Re: Adding a custom property to diagrams
Post by: qwerty on November 03, 2014, 07:42:31 pm
Probably the easiest way is to use the diagram notes property. Normally this is not seen except you have the notes window open and focus on the diagram in the browser. There are a couple of (likely unused) columns like HTMLPath (not sure), TPos (most likely), StyleEx (choose your own attribute in the form <myspecialname>=<value>;).

q.