Archi Forum

Archi => Share your Models, Templates and Reports => Topic started by: chrisw on October 04, 2016, 17:47:40 PM

Title: Custom reports as analysis view
Post by: chrisw on October 04, 2016, 17:47:40 PM
Hi,

I cannot make a custom report showing dependencies for example on a device (server) where is hosted an application.

I've made my own report folder.

I was able to sort by device in main.jrxml :
((com.archimatetool.jasperreports.data.ArchimateModelDataSource)$P{REPORT_DATA_SOURCE}).getElementsDataSource("Device")

This is in a section where it calls report for element and others objects.

But I could not retrieve relation objects from there.
May be my lack of knowledge of JasperReports ?

I've look at source code, would be fine calling getSourceRelationships, but I cannot...

Would iReport help me ?
Title: Re: Custom reports as analysis view
Post by: Jean-Baptiste Sarrodie on October 04, 2016, 19:10:24 PM
Hi,

I think you've reach the limits of current implementation. This should be enhanced in the near future in the upcomming version of Archi.

Regards,

JB