I'm creating a report using foundsets from Servoy, but I have a problem with images... Well, the images aren't showed in the report...
I had tried it showing the image as several field class in iReports, but I didn't get nothing...
Anybody knows what field class I need to show the images? Anybody can help me with this? (Perhaps I must to post it in jasperreports site issues...)
Thanks in advance!!!
Best regards,
Gerardo.
P.S.: by now, I need only an image in report header (the company logo in a invoice), due to this, I have a tricky workaround: I'm creating a temp file and I'm showing that file in report from full path to that temp file...
- Code: Select all
// ...
// Creates a temp file (using Servoy file plugin) with logo (media data) from my companies table
// and returns full path to that file:
var pd_logo = getImagePath(_to_empresas_saas_company.logo);
// ...
// attach the full path to params object:
params.p_logotipo = pd_logo;
// ...
// just call jasper reports plugin:
plugins.jasperPluginRMI.runReport(foundset, reportName, false, 'view', params);
The report...