If you are unable to create a new account, please email support@bspsoftware.com

 

How to add image available on a local machine(not cognos server) to report

Started by nsaxena, 15 Oct 2015 07:43:12 AM

Previous topic - Next topic

nsaxena

Hi All ,

How to add image available on a local machine(not placed in cognos server) to report
P.S I do not want to copy image to server.Is it possible?

Thanks!

BigChris

I'm sure someone will contradict me, but I don't think that's possible.

MFGF

Quote from: nsaxena on 15 Oct 2015 07:43:12 AM
Hi All ,

How to add image available on a local machine(not placed in cognos server) to report
P.S I do not want to copy image to server.Is it possible?

Thanks!

That's like saying "How do I get an image on my local machine to display in the IBM website? The short answer is you can't - it would make no sense to be able to do this. The Cognos server is the equivalent of a website (it is accessed via a web server or an inbuilt equivalent - the servlet gateway), and unless you place content to be displayed in a location that a website can see it, it can't be displayed on the website. Let me ask this - if you somehow managed to do this, then disconnected or powered off your local machine, what do you envisage others would see when running this report?

You need to copy the image to somewhere the Cognos server has access to, and is as resilient as the Cognos server. The simplest option is to copy it to the server itself.

MF.
Meep!

nsaxena

Quote from: MFGF on 15 Oct 2015 09:41:58 AM


You need to copy the image to somewhere the Cognos server has access to, and is as resilient as the Cognos server. The simplest option is to copy it to the server itself.

MF.

Hi MG,

When you mention "somewhere",suppose it's another server/machine and cognos server can access this folder (on which image is placed ),
we need to define the absolute path?
something like this : https://non cognos server i.p/c:/image path......
?

Thanks!

MFGF

Quote from: nsaxena on 16 Oct 2015 01:48:07 AM
Hi MG,

When you mention "somewhere",suppose it's another server/machine and cognos server can access this folder (on which image is placed ),
we need to define the absolute path?
something like this : https://non cognos server i.p/c:/image path......
?

Thanks!

You need to bear in mind that you're accessing Cognos via a web server (or servlet gateway). The location you copy images to needs to be a folder the web server provides access to - either on the Cognos server or on another server on the network, or another web server provides access to. In other words, the image needs to be in a location you can access it via a URL. This could be a specific folder the web server is configured to allow access to, or it could be on an external website (imgbb, google drive etc).

If you can't get to the image via an http url in your browser, then it's not going to be accessible in your report.

Cheers!

MF.
Meep!