COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: trauschu on 25 Mar 2010 02:52:27 PM

Title: Dynamic Page Headers Using Parameters and Templates
Post by: trauschu on 25 Mar 2010 02:52:27 PM
I have a suite of reports that all have the same basic layout (page header/footer/etc) so I am trying to create a common report template, and then use Layout Component Reference controls to reference these templates.

What I am trying to accomplish is to design a template that can render input parameter values in the page headers.  Ex: We have parameter "pTitle1" and "pTitle2" that are supposed to be the titles/subtitle for each page.  I want the template to reference those input parameters.

I've tried paramDisplayValue('pTitle1') or =?pTitle1? with no solution. 

How can I reference an input paramter coming in from the user in a template that I can use across all my reports using layout component reference in the actual report?