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

Upgrading to Cognos 10- Images on Reports

Started by n03031970, 09 Jan 2012 11:08:35 AM

Previous topic - Next topic

n03031970

 Just migrate but  all our images on our reports are pointing to the Cognos 8 url. Is there an easy way to change all our images on reports to the New Cognos 10 url\images (other than open each report and change them manually). We have about 300 + reports.

Lynn

I don't know the answer to your question, but this is a very good example of why a relative path is preferable to a full path for images.

Further, the use of Component Layout References is another technique that would have made this type of change significantly less painful.

If you end up going through all the reports I'd suggest investing the time to make the change with some thought toward both ideas.

RobsWalker68

Hi,

Like Lynn I'm not sure if there is an easy solution to this although sure there is not an easy out of the box solution to your issue.  Possibly, if you have the sdk there may be a solution to loop through the content store and change that particular attribute but it would take a bit of development work.

Alternatively, if you have saved the report specification as local files then possibly you could do a find replace but again not sure if this would be any quicker for you.

Kind Regards

Rob

bdbits

The suggestions already mentioned are good, but as a workaround you could add a rewrite rule to your web server. Whoever admins your web server will need to do this and precisely how varies with web server. This should only be a temporary measure until you can fix up the references properly.

n03031970

Thanks all , we'll be adding a relative path this time.

tjohnson3050

The people that host the site (BSP) sell a tool Meta Manager that has global find and replace capability for reports in the content store.

sir_jeroen

Have you tried the report spec updater, a tool that I use for it. You can download it @ IBM: http://www-01.ibm.com/support/docview.wss?uid=swg24021248

ykud

Just another workaround in the pot:
- you can export all reports as deloyment archive
- unarchive it and you'll have the xml's for all reports
- replace everything you need there
- pack it back and import.

dcsoke

Alternatively, you can query the content store directly and replace the address of the old location with the new one for the xml of each report. Fairly simple script to write, however, due diligence needs to take place prior this execution.