COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: JoOne on 30 Jun 2009 05:58:45 AM

Title: How change from absolute URL to relative URL?
Post by: JoOne on 30 Jun 2009 05:58:45 AM
Hello,

We have a problem viewing images in PDF reports. In HTML reports it works. I changed from an absolute URL (eg. http://servername.se/.../image.jpg) to a relative URL (eg. ..\\samples\images\image.jpg). Then the images are shown in the PDF report.

I wonder how you change this, so that the relative URL is shown by default? As for now, we have to change the URL manually, which can be frustrating for the users who don´t know about the fix.

I greatly appreciate all feedback.

Best regards,
Johan
Title: Re: How change from absolute URL to relative URL?
Post by: Gollapudi on 01 Jul 2009 08:32:07 AM
Hi,

This problem occurs generally when you migrate your reports from Dev Server to Production Server, to avoid this while creating reports itself, you should make sure that the path of the image is same as it is in Production Server.. then the relative URL will be more flexible than an absolute URL.

Now also you can just try to change the path...

Thanks,
Gollapudi