Diagram selection in custom report


I try to display all diagrams with the comment summary “Test” which are subdiagrams of a model:

<?xml version="1.0" encoding="UTF-8"?>
	<TemplateInformationHeader default="false" description="" icon="documentation" id="Test" name="Test" type="text"/>
			<HasMetaModelPropertyChecker property="comments" flag="true">
				<ForEach property="comments">
					<ValueConditionChecker property="name" operator = "equals" value = "Test" >
							<ElementImage alignment="center" imageType="diagram"/>
							<StaticText content="Diagram: " style="Figure Title"/>
							<StringPropertyText propertyText="name" style="Figure Title"/>
							<StringPropertyText propertyText="documentation" style="Default"/>
							<StaticText content="" style="Default"/>

The check itself works, but I’m not able to get the diagram from inside the ForEach Loop. Could you tell me what I must change?

Best regards

Hi Thorsten,

We are sorry that currently you can only query the element being looped, but not its parent, grandparent and so forth.

Best regards,
Jick Yeung