Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: hende on April 09, 2020, 01:16:03 am
-
Hi,
I was wondering if there is a way to store model version number in an EA project?
I do not need the version control functionality (it is managed manually), only something similar to a global attribute.
Thanks in advance.
Robert
-
We are solving this with the baseline version number of the all model.
-
Hi Robert,
It's a little bit of a hack but there is a table called t_constants, with two columns ConstantName and ConstantValue.
I'm not aware of a GUI to manipulate this table, and I'm not aware of any functionality that uses it. With a simple script you'd be able to add your global version there and I don't think it'd interfere with anything else.
HTH,
/Uffe
-
I once thought about using package.notes from the root. The UI does not allow to edit it, but it should be accessible via a SQL.
Honestly I never tried it since the need for it never got concrete.
q.
P.S. Just tried that. You can even access the notes via the API and EA won't show anything in the root notes.
-
Thank you for the prompt answers.
I'm gonna try your suggestions.
Robert