how to display an image from a blob in a pdf in cognos -
we adopted cognos reporting , has proven work in many situations. facing problem consider weird, tools used reporting back upwards that. have table in database store images blobs. wanted display these images in cognos study find out not supported out of box.
if study format in html, solution set image command on study , build url point web application made accesses database , returns image when url called (there may other solutions "a" solution know of).
but in case utilize pdf study format, , searched on net , couldn't find talks it. question is, there anyway display blob images in cognos pdf reports or not supported @ , there nil can it? cognos version back upwards or have no hope of having that?
p.s. using cognos 8.4.1.
i think out of luck since cognos needs read images disk when generating pdf.
here's alternate solutions:
try extract images need database , write em disk , can utilize cognos read images disk tag or image tools cognos.
or
build web service deed image reads info database (proxy) when image called in tag, webservice returns bytes database. work though never tried it. worth shot imo ;)
you can fin illustration here :
http://www.codeproject.com/questions/466769/save-and-retrieve-some-online-image-in-database-us http://forums.aspfree.com/code-bank-54/create-webservice-retrieve-image-database-23738.html cognos cognos-8
No comments:
Post a Comment