Using ART 4.16.
When I execute a report using aURL, when I do combine "reportFormat=json" or "reportFormat=csv" with "directDownload=true", I get a zero byte response. If I do use "reportFormat=file", I do get a anwer.
Sample URL:
http://myerportserver:8080/runReport?reportId=342&reportFormat=csv&username=xyz&password=x123456y&p-DATASOURCE=jdbc/myds&p-FILTRO=filtro_5&directDownload=true
Any tips?
What report type are you using.
The report type for "CSV" is "CSV" itself. The report for json is "TEXT" (I could not find a better report format).
Is there a reason you can't use the Tabular report type?
I believe I have already tried, but I'll try again.
Regards,
Edson
De: Timothy Anyona tanyona@users.sourceforge.net Enviado: terça-feira, 25 de agosto de 2020 14:33 Para: [art:discussion] 352129@discussion.art.p.re.sourceforge.net Assunto: [art:discussion] reportFormat=json and directDownload=true causes 0 length report
reportFormat=json and directDownload=true causes 0 length reporthttps://sourceforge.net/p/art/discussion/352129/thread/ae00d455e6/?limit=25#519b
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/art/discussion/352129/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I tested with a Tabular report and got full results.
Log in to post a comment.
Using ART 4.16.
When I execute a report using aURL, when I do combine "reportFormat=json" or "reportFormat=csv" with "directDownload=true", I get a zero byte response.
If I do use "reportFormat=file", I do get a anwer.
Sample URL:
http://myerportserver:8080/runReport?reportId=342&reportFormat=csv&username=xyz&password=x123456y&p-DATASOURCE=jdbc/myds&p-FILTRO=filtro_5&directDownload=true
Any tips?
Last edit: Edson Carlos Ericksson Richter 2020-08-05
What report type are you using.
The report type for "CSV" is "CSV" itself. The report for json is "TEXT" (I could not find a better report format).
Is there a reason you can't use the Tabular report type?
I believe I have already tried, but I'll try again.
Regards,
Edson
De: Timothy Anyona tanyona@users.sourceforge.net
Enviado: terça-feira, 25 de agosto de 2020 14:33
Para: [art:discussion] 352129@discussion.art.p.re.sourceforge.net
Assunto: [art:discussion] reportFormat=json and directDownload=true causes 0 length report
Is there a reason you can't use the Tabular report type?
reportFormat=json and directDownload=true causes 0 length reporthttps://sourceforge.net/p/art/discussion/352129/thread/ae00d455e6/?limit=25#519b
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/art/discussion/352129/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I tested with a Tabular report and got full results.