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)?
If possible have 2 pages, one with logo and one without logo. Render the pages accordingly.
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