Author Topic: Version of custom MDG in generated document  (Read 815 times)

fp123

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Version of custom MDG in generated document
« 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.
« Last Edit: January 14, 2023, 01:01:41 am by fp123 »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12996
  • Karma: +544/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version of custom MDG in generated document
« Reply #1 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

fp123

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Version of custom MDG in generated document
« Reply #2 on: January 14, 2023, 01:54:47 am »
Yes, that's my current solution, but the remembering part is a problem ;)