Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Define a Template Selector

A Template Selector is a Template Fragment that calls other Template Fragments depending on what type of element is being reported. The Template Fragments being called can be system Fragments or existing user-defined Fragments, as listed in the Resources window.

Access     Project Browser package context menu | Documentation | Rich Text Format (RTF) Report (F8) > Templates | Fragments | <Fragment name> > Content | File | Document Options > Custom Query

Set Up the Template Selector



See also

Template Selector

Click on this radio button to define the template selection commands.



data field

On separate lines, type each element type and the name of the Template Fragment to use for that element type, in the format:


ElementType::Fragment Name


For example:


ActionPin::Simple Behavioral



For a complete example, open the system-supplied Template Selector in the System Templates | Fragments folder of the Resources window.











Click on this button to save the changes you have made and close the Document Options dialog.



Learn more