Book a Demo

Author Topic: Document Generation: Different Template for Sub-Components  (Read 5899 times)

Andreas Morgenstern

  • EA User
  • **
  • Posts: 26
  • Karma: +1/-0
    • View Profile
Document Generation: Different Template for Sub-Components
« on: December 08, 2016, 10:47:40 pm »
Hi,

I want to generate a document for a component that contains sub-components
and would like to use a different template for the component than for the sub-components.
Any idea how I can achieve that with the build-in features of the document generator?

Andreas

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Document Generation: Different Template for Sub-Components
« Reply #1 on: December 09, 2016, 12:07:17 am »
Hello,

Use a fragment for the child elements, and don't include child elements in the main template.

/Uffe
My theories are always correct, just apply them to the right reality.

Andreas Morgenstern

  • EA User
  • **
  • Posts: 26
  • Karma: +1/-0
    • View Profile
Re: Document Generation: Different Template for Sub-Components
« Reply #2 on: December 09, 2016, 07:50:37 pm »
Hi,

thanks for your reply. I'm an idiot.
I did not realize that one can select a template for the child elements

Andreas
« Last Edit: December 09, 2016, 09:56:27 pm by Andreas Morgenstern »

Andreas Morgenstern

  • EA User
  • **
  • Posts: 26
  • Karma: +1/-0
    • View Profile
Re: Document Generation: Different Template for Sub-Components
« Reply #3 on: December 15, 2016, 08:28:21 pm »
Hello Uffe,

can you please explain more?
I thought I found a solution, but unfortunately failed.

Andreas