Book a Demo

Author Topic: Shared document sections and fragments in Documentation Templates  (Read 3142 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1173
  • Karma: +30/-8
    • View Profile
I am creating a number of shared static text document sections which are used by more than 1 document template, most of this sections belong at the Model level. I was planning to use fragments for this and use them inside the model tag. However, Sparx does not seem to allow the use of fragments outside the package tag.

Is this correct? Is this expected functionality?

Does this mean that any shared static text document sections need to go in the Cover Page template (or the the TOC template?

M. King

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Shared document sections and fragments in Documentation Templates
« Reply #1 on: March 30, 2022, 12:58:29 am »
Hello Modesto.

I have the same problem as you; wanting to have common text for 2 or more templates. Did you find a solution?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Shared document sections and fragments in Documentation Templates
« Reply #2 on: March 30, 2022, 03:34:11 am »
I usually use linked documents for such purposes.

Geert

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1173
  • Karma: +30/-8
    • View Profile
Re: Shared document sections and fragments in Documentation Templates
« Reply #3 on: March 30, 2022, 08:49:46 pm »
Hello Modesto.

I have the same problem as you; wanting to have common text for 2 or more templates. Did you find a solution?
I did not find a solution, other than manually editing each document. But I did not try Geert's proposed solution, linked documents.