Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: fp123 on January 14, 2023, 12:54:28 am

Title: Version of custom MDG in generated document
Post by: fp123 on January 14, 2023, 12:54:28 am
Hi EA pros!
Ist there any possibility to insert the version number of a custom MDG into a document generated with templates from that MDG?
I already tried inserting a project constant but these can be modified by users. But I need something that can be used to identify, which version of our custom MDG was used for generation of a document from EA without the possibility to be modified by users.
Title: Re: Version of custom MDG in generated document
Post by: Geert Bellekens on January 14, 2023, 01:17:16 am
You can hardcode it in the template.

Just remember to change it when you update the version of your MDG

Geert
Title: Re: Version of custom MDG in generated document
Post by: fp123 on January 14, 2023, 01:54:47 am
Yes, that's my current solution, but the remembering part is a problem ;)