COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: lawrencebenson on 18 Jan 2011 02:30:51 PM

Title: Display Report Name when suing Report Viewer via URL
Post by: lawrencebenson on 18 Jan 2011 02:30:51 PM
My organization recently migrated from Cognos 1.1 to 8.3 (packaged with another vendor product).  In the previous version the name of the report was in the top left corner of the page when viewing reports from report viewer.  In this version it is no longer listed, just the name of the person viewing the report. 

Is this something I can enable in the URL?  I cannot find anything mentioned about this element in the administrators guide.

Not having the report name displayed would be a huge pain in the butt if we need to debug a report since we have150+.

???

Thanks in for any help.
Title: Re: Display Report Name when suing Report Viewer via URL
Post by: CognosPaul on 19 Jan 2011 12:41:30 AM
I don't believe there is a way to force Cognos to automatically include the name of the report.

I think you'll need to modify each report and include the name of the report in the header. But consider this, if that's your only problem after migrating between major versions, you've got it easy.
Title: Re: Display Report Name when suing Report Viewer via URL
Post by: Rutulian on 19 Jan 2011 07:29:10 AM
To make this a bit more useful you can create a little report with what you need as the header, then insert it into all your other reports using 'Layout Component Reference'.  This way you can maintain one 'letterhead' report that will sit at the top of all your reports, you might want to put a corporate logo or similar up there.

The basic object you want is a text item with Source Type 'Report Expression' and Report Expression 'ReportName()'.

Welcome to Version 8!
Title: Re: Display Report Name when suing Report Viewer via URL
Post by: lawrencebenson on 19 Jan 2011 12:39:34 PM
@PaulM - LOL! Unfortunately, this was just the last problem.   

@Rululian - Is something that you can put in the system.xml?  We have 150+ reports, I would like to avoid doing this manually in every report if possible.
Title: Re: Display Report Name when suing Report Viewer via URL
Post by: cognostechie on 19 Jan 2011 01:26:44 PM
The Report Name appears automatically in 8.4 on the banner at the top. Look at the attached screen.

system.xml is no longer in effect once you run the report. I believe it's the viewer_banner.xml and viewer_toolbar.xml that displays the icons and other things in Cognos Viewer. You may want to edit those and insert the Report Name.

or. look at the xml files of 8.4 and copy the logic from there. It appends the Report Name to the Viewer title and displays it.