Can BIRT template accept images from an XML datasource
#1
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...
#2
Posted 21 June 2012 - 11:32 AM
You also may want to read over this:
http://birtworld.blo...eport-item.html
Jason
Attached File(s)
-
imageblobfromfile.zip (47.79K)
Number of downloads: 9
#3
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
#5
Posted 24 June 2012 - 12:12 AM
JasonW, on 22 June 2012 - 12:32 PM, said:
Jason
Hi Jason,
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.
Attached File(s)
-
new_report_5.rptdesign (6.71K)
Number of downloads: 5 -
image.xml (18.75K)
Number of downloads: 15
#6
Posted 25 June 2012 - 01:45 PM
Jason
Attached File(s)
-
imageblobfromxmlfile.zip (1.73K)
Number of downloads: 20
#7
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?
Regards,
UY
#8
Posted 11 July 2012 - 02:00 PM
Jason
Attached File(s)
-
blobsds.rptdesign.zip (1.41K)
Number of downloads: 9





MultiQuote





