Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: philchudley on January 24, 2023, 12:12:23 am

Title: Latest Release of EA v16.1 Template Fragments
Post by: philchudley on January 24, 2023, 12:12:23 am
Hi All

Sparx have announced a new build release if EA v 16.1 and in the release notes it states, in

Template Fragments can now be used in all element sections within a document template

I have just tested this, and yes a Template Fragment can be used in the Element section within the Diagram section of a template, but NOT within the Child elements section of Element section!

Not quite all element sections within a document template methinks, unless of course Sparx regard Child elements as not an Element section.

Anyone else confirm or deny my test? If confirmed, then a bug report will be sent off.

Phil
Title: Re: Latest Release of EA v16.1 Template Fragments
Post by: Geert Bellekens on January 24, 2023, 02:08:49 am
Child elements section is not really a section like the others is it?
It's more like: and now do the same thing recursively for all child elements

Geert
Title: Re: Latest Release of EA v16.1 Template Fragments
Post by: philchudley on January 24, 2023, 08:15:00 pm
Fair comment Geert, I was clarifying my interpretation.

I understand the Child elements when left blank, indeed does repeat what is in the element section, for all child levels. However, I have observed that if you place something inside the child elements section it overrides the element section, but only executes for one level of child level, well at least it did last time I tried.

I was just wondering whether fragment could be used in the child element section to provide a different appearance to that of the element. An unusual situation, but I have been asked by clients whether this is possible. Hence my post.

Phil