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

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Adding an Image to Report

Started by angryman, 05 Dec 2005 09:53:13 PM

Previous topic - Next topic

angryman

hi,
When adding an image to a report, why would you want to use a relative URL rather than a fully qualified URL???

Thanx in advance

JGirl

An example of why you would want to do this is when you deploy reports from development to production.

Lets say you install your corporate logo image on your dev and prod machines, in the following location <install directory eg C:\Program Files\Cognos\crn>\webcontent\samples\images\corp_logo.gif

You need a URL in your reports to reference this image.  If you use ..\samples\images\corp_logo.gif, ReportNet will look for this image in the environment you are running the report from.  If you use http:\\developmentservername\crn\samples\images\corp_logo.gif and then move your report to a production environment, you still have a hardcoded reference to the development machine.

Just good practice really (and minimising rework)....

J