I've found that if I create a template fragment which displays the field that I want and use a custom query, I can get return the information that I want.
Create the Template Fragment
Create a template fragment in Enterprise Architect.
- Only check the Custom checkbox in the Sections tree.
- Right click between the
custom
start and end tags on the page and choose Insert Custom Field. - Type the name of the custom field (in this case, I chose to use
Notes
). - Save, the click the Document Options icon.
Set the Template Fragment Document Options
- Specify the SQL search string on the Custom Query tab.
- Note that the
Note
field must be aliased (as Notes
) - Ensure that the Document Options tab has Template Fragment checked.
The SQL that was needed is:
select Note as Notes from t_object where object_id=(select classifier from t_object where t_object.object_id=#OBJECTID#)
The Custom Query tab should look like this: