Forum Discussion
NBorovykh
Staff
8 years agoHello,
Do you have a reference to your DataSink in the report template?
Example:
<dataSourceExpression>$P{YourDataSinkName}</dataSourceExpression>
<subreportExpression class="java.lang.String">"subreport:MySubReport2"</subreportExpression>
More info on this can be found here: https://support.smartbear.com/readyapi/docs/testing/reports/datasink/printable.html
NDyukov
8 years agoOccasional Contributor
judging by the documentation: https://support.smartbear.com/readyapi/docs/configure/plugins/dev/annotations/misc/subreport.html
SubReport creates a custom SubReport data source to provide custom data for reporting.
I would like to use it as a data source.
How can the native data source be used in the jasper report? (for example in the documentation)