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

Render objects in Layout Component Reference based on ReportOutput()

Started by RubenvdLinden, 05 Jun 2009 10:25:11 AM

Previous topic - Next topic

RubenvdLinden

Hi,

I have a template with a report header which is a Layout Component Reference. The report header contains a company logo which seems to cause problems when the report output is set to Excel (if a user clicks the logo, e.g. to remove it, Excel freezes).
I opened the report with the layout component and created a render variable for the company logo:
ReportOutput() = 'PDF' or ReportOutput() = 'HTML'

After saving the report all the reports that use the template started to produce Application Error messages, so I quickly removed the render variable again.

Is there another way to accomplish the same result (no logo in Excel)?

Gopinath

If possible have 2 pages, one with logo and one without logo. Render the pages accordingly.

PlayCognos

After creating the render variable in the Template, make sure you add the same variable name in each report. Otherwise, the component (report header) looks for that information in the report and not in the template. When it does not find it, it throws an error.

PC