Original Message:
Sent: Tue March 16, 2021 01:15 PM
From: Richard Mabjish
Subject: Support for Database images in a Cognos Reports
Hi
@Ralf Roeber,
Thank you for your reply, this sounds promising....
do you have an example code/extensions?
Thanks!
Original Message:
Sent: Tue March 16, 2021 12:51 PM
From: Ralf Roeber
Subject: Support for Database images in a Cognos Reports
You could use JavaScript from an extension to render the binary content as it is inside the oHostcontrol. Rendering images with JS is quite straight forward. I think this could be feasible. PDF ... I don't know.
---
.... sent from mobile ... excuse my brevity.
Original Message:
Sent: 3/16/2021 9:44:00 AM
From: Robert Hofstetter
Subject: RE: Support for Database images in a Cognos Reports
You would have to employ an external application to retrieve the image data from the database and stream it as an image. Then it's a simple matter of constructing an image with a dynamic URL which has a parameter for which image to retrieve. A long time ago in a past life I've done this as a Java HTTP servlet application and have some code I could share. It does require an application server, such as Apache, to run in. IBM obviously doesn't recommend running it in the Websphere Liberty that Cognos runs in but it might be possible to do it.
------------------------------
Robert Hofstetter
Original Message:
Sent: Mon March 15, 2021 03:50 PM
From: Richard Mabjish
Subject: Support for Database images in a Cognos Reports
We have images stored in Oracle Database as "varbinary" datatypes. Image could be JPEG, JFIF, PDFs..
We would like to display the images in a Cognos list report, is this supported?
Any idea how to make this happen?
We have Cognos 11.1.6#CognosAnalyticswithWatson