Book a Demo

Author Topic: Document generation: add content of an instance of an artifact  (Read 2908 times)

Squeegee

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Hello Everyone,
when generating a document with the document generation engine of EA, we have some text which we want to use in different documents but maintain on one central place in the model. Therefore the first idea was to have a "template for text" consisting of several artifacts of rtf documents (from the common toolbox). To add them at certain places in the model we thought creating "instances" from this artifact might work - but it didn't and we're running out of ideas.

Has anyone an idea how to handle several small document fragments (right now the rtf artifacts) on a central place and use them in different generated documents? Also storage outside of the EA would be possible (we have a version control system), but we did not find any proper method to handle this and are open for all suggestions :-)

Thanx so much
Uwe

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Document generation: add content of an instance of an artifact
« Reply #1 on: March 19, 2019, 10:51:22 pm »
Use virtual documents.
A model document can refer to content using a search + search value.

In cases like this we use a simple search that returns the element identified by a GUID

for more info on this approach see https://bellekens.com/2015/11/12/tutorial-generate-complex-documents-from-enterprise-architect-with-a-two-step-semi-automated-approach/

Geert