Hello,
I'm uploading reportUnit to the server via REST API. Everything ok, when I uploading single file report. Now I need to upload report with two subreports. I'm trying to send a report as jrxml file:
{
"label": "Subrep.jrxml",
"uri": "Reports/Dact_files/Subrep",
"type": "jrxml",
"content": ""
}
I'm getting 201 response, but newly added file don't appears in ReportUnit file list.
When i specifying uri not too hidden reportUnit files, the file was created.
1 Answer:
Posted on July 10, 2021 at 10:34am
Hi,
Yes, you can upload report with its subreport(s) using REST API. Refer below Wiki article, which I have created for this requirement:
https://community.jaspersoft.com/wiki/uploading-reports-subreports-using-rest-api
Hi!
Did you solve this? I'm facing the same issue. I'm not able to upload a report with subreports.
Thanks
Hi,
Yes, you can upload report with its subreport(s) using REST API. Refer below Wiki article, which I have created for this requirement:
https://community.jaspersoft.com/wiki/uploading-reports-subreports-using-rest-api