Topic
  • 2 replies
  • Latest Post - ‏2017-12-11T18:43:41Z by OpherB
SystemAdmin
SystemAdmin
1959 Posts

Pinned topic Macro Functions in Report Template Header - Cognos 10.2

‏2013-02-06T23:35:56Z |
Hi,

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.
Cheers
Prasan
  • JMcKnight
    JMcKnight
    1 Post

    Re: Macro Functions in Report Template Header - Cognos 10.2

    ‏2017-12-11T17:41:20Z  

    I would love to know if this is possible as well.

  • OpherB
    OpherB
    1163 Posts

    Re: Macro Functions in Report Template Header - Cognos 10.2

    ‏2017-12-11T18:43:41Z  
    • JMcKnight
    • ‏2017-12-11T17:41:20Z

    I would love to know if this is possible as well.

    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.

    Good luck,
    Opher

     

     

     

    Updated on 2017-12-11T19:14:04Z at 2017-12-11T19:14:04Z by OpherB