Can BIRT template accept images from an XML datasource
Posted 21 June 2012 - 01:39 AM
What are the options available to me ?. Is BIRT the right solution for me ?.
My BIRT Report designer version is 2.5.2
Gurus , please help ... I tried may tutes online , but so far no luck...
Posted 21 June 2012 - 11:32 AM
You also may want to read over this:
Number of downloads: 9
Posted 21 June 2012 - 05:10 PM
I tried to run the sample code you gave me , but i couldn't see the image in the generated PDF. Not sure what was wrong.
Have you got any examples where the image is read from an XML file and shown as PDF..
Thanks for your kind help
Posted 24 June 2012 - 12:12 AM
I accessed the BIRT template you gave me and modified the location in the design for the CSV file. But it didn't work. I was getting the following text on the PDF where the image should have appeared.
'The resource of this report item is not reachable'
I created a fresh new template to work from an XML data source; but it didn't work. I am attaching the XML file and the BIRT template that I created.
Thanks for your kind help.
Posted 25 June 2012 - 01:45 PM
Number of downloads: 20
Posted 07 July 2012 - 11:44 AM
It is very interesting how you got the image file from the xml data source.
Do you have an example of getting the image from a scripted data source based on a java object? My report requirement is something like this.
1. Generate the scripted data set in the report based on a java pojo object.
2. The images are to be flown into the report by means of a dynamic image from the scripted data set which has a image colunm of blob type to retrieve the byte information from the java object.
3. The byte information needs to be retrieved in the report and eventually the image should be populated.
Being new to Java & Actuate, I am facing issues with both the blob type declaration in the java class and then retrieving it from the object into the scripted data set. Data column information is flowing through but not the image byte information.
Can you please help me with this?