Pinned topic Macro Functions in Report Template Header - Cognos 10.2
We have a report template and the same template is being referred in the reports using layout component reference (for header and footer). We want to add the macro function CAMIDList to the header of the template. Unfortunately Macro Functions can only be used in Query Calculations or Singletons but not in the Layout Calculations.
There is an optionally to manually go into every report and add this macro function in the header, but we don't we take this option until there is no other way of doing it in template header.
OpherB 270003XT4A1163 Posts
Re: Macro Functions in Report Template Header - Cognos 10.22017-12-11T18:43:41ZThis is the accepted answer. This is the accepted answer.
- JMcKnight 270006X7NB
As of 10.2.2 this is not possible.
Macros are identified by Cognos as query items, so are tied to the query and not layout items.
You could automate a change using a third-party tool like Motio or BSP Metamanager.
There is a utility from Cognos as well, which I cannot recall the name of just now.
And you could write your own if you have the SDK.
OpherUpdated on 2017-12-11T19:14:04Z at 2017-12-11T19:14:04Z by OpherB