HI, I am using this add on https://addons.alfresco.com/addons/generate-reports-jasper-reports to generate reports by giving xmlDataSourceString as input to a jrxml template and generating a PDF/docx as an output file. Now I am able to pupulate the sub tags from the string. But not able to populate sub sub tags in the jrxml file.
xmlDataSourceString is :
<items>
<item>
<name>workflowTitle</name>
<creator>workflowTitle</creator>
<created>workflowTitle</created>
<description>workflowTitle</description>
<docs>
<id>workflowDesc</id>
<id1>workflowDesc</id1>
<id2>workflowDesc</id2>
</docs>
</item>
</items>
I want to populate the report dynamically with sub sub tags of the above xml string.
For example
<field name="description" class="java.lang.String">
<fieldDescription><![CDATA[description]]></fieldDescription>
</field> is populating the value with 'docs' tag.
Now I want to populate similarly with the sub sub tag. I have tried as below. But no luck.
<field name="docs.id1" class="java.lang.String">
<fieldDescription><![CDATA[docs.id1]]></fieldDescription>
</field>
Attached the files jasper.js when triggered will call the jasper.ftl to generate the xmlDataSourceString which in turn passed as input to report_itemsInDataDictionary.jrxml and generates a PDF.
Kindly provide me any inputs