Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Andreas Morgenstern on December 08, 2016, 10:47:40 pm

Title: Document Generation: Different Template for Sub-Components
Post by: Andreas Morgenstern 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
Title: Re: Document Generation: Different Template for Sub-Components
Post by: Uffe 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
Title: Re: Document Generation: Different Template for Sub-Components
Post by: Andreas Morgenstern 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
Title: Re: Document Generation: Different Template for Sub-Components
Post by: Andreas Morgenstern 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