I have an iframe field to integrate ireport with oracle.

I have an iframe field to integrate ireport with oracle.

I have the url string http://localhost:8080/JasperReportsIntegration/report?_repName=rep_01&_repFormat=pdf&_dataSource=default&_outFilename=&_repLocale=en_US&_repEncoding=UTF-8**&codi=${codigo}**

report presents empty, but if you send with a fixed value presents the reporte:http://localhost:8080/JasperReportsIntegration/report?_repName=rep_01&_repFormat=pdf&_dataSource=default&_outFilename=&_repLocale=en_US&_repEncoding=UTF-8**&codi=01**
My question is how should I put the variable (global) so you can run the report.

Thanks

Hello santillanh

Put it in the script editor, someting like:

http://localhost:8080/JasperReportsIntegration/report?_repName=rep_01&_repFormat=pdf&_dataSource=default&_outFilename=&_repLocale=en_US&_repEncoding=UTF-8&codi=” + codigo

Cheers

What version are you working?

Thanks for responding, but does not work.
My version is 6.2.4 (64 bits)

Data: Iframe Url: I put the aforementioned chain.
http://localhost:8080/JasperReportsIntegration/
report?_repName=rep_01&_repFormat=pdf
&_dataSource=default&_outFilename=&_repLocale=en_US
&_repEncoding=UTF-8&codi+codigo

Cheers.

Thanks for responding, but does not work.

My version is 6.2.4 (64 bits)

Data: Iframe Url: I put the aforementioned chain.
http://localhost:8080/JasperReportsIntegration/
report?_repName=rep_01&_repFormat=pdf
&_dataSource=default&_outFilename=&_repLocale=en_US
&_repEncoding=UTF-8&codi+codigo

Cheers.