Migrating ad hoc report jrxml file to Community Edition

What's the recommended way to migrate a .jrxml file for an ad hoc report into the Community Edition of JasperReports?

In particular I need to change entries like this in the subDataSet element:

  <parameter name="_dbo_ActivityCountByMonth.CreatedYear3_AdHocFunctionMask" class="java.lang.String" isForPrompting="false">   <defaultValueExpression><![CDATA[AdhocEngineServiceImpl.getInstance().getDefaultMask("java.lang.Long", $P{REPORT_LOCALE}, $P{REPORT_TIME_ZONE})]]></defaultValueExpression>  </parameter>

So that instead of using AdhocEngineServiceImpl they use a corresponding class supported by CE.

Robert

robert.baldock's picture
Joined: Sep 17 2015 - 5:42am
Last seen: 6 years 7 months ago

Thanks @hozawa.  I know I could just re-create the report in Studio but I have a whole set of reports that were created in the Enterprise Edition and I was hoping there would be some way to retain the layout of each report when migrating them to a Community Edition instance.


Robert

robert.baldock - 6 years 7 months ago

1 Answer:

There's no recommended way. If you're going to be using the community edition, just create a report using Jaspersoft Studio.

hozawa's picture
125078
Joined: Apr 24 2010 - 4:31pm
Last seen: 2 years 11 months ago
Feedback