Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: PeterHeintz on February 16, 2018, 04:25:42 am

Title: Virtual Documents and RTF Templates
Post by: PeterHeintz on February 16, 2018, 04:25:42 am
Hi,
Can anyone enlighten me, how I can use RTF templates for virtual documents. Up to now I did only use virtual documents for html.

I have a rtf-template that works fine on packages.

Now I created a <<report package>> having one <<model document>>.
My first try was to add a tag RTFTemplate to my <<report package>> manually and setting the value to point to my working template.

As a result I got a cover page as expected but all the content was rendered with the system “Model Report” template. I fiddled around with both RTFTemplate tags (<<report package>>, <<report package>>), but whatever I do I get my stuff only rendered with chatty “Model Report”!?! :'(
Title: Re: Virtual Documents and RTF Templates
Post by: PeterHeintz on February 16, 2018, 08:22:16 am
Ok! Now I found my problem. I assigned template fragments rather than templates to the model reports and those seem to be ignored and the system "Model Report" template is used as default instead.