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.
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.
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
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.
Thanks all , we'll be adding a relative path this time.
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.
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
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.
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.