Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
Expand all | Collapse all

Layout objects only on first page of PDF report

  • 1.  Layout objects only on first page of PDF report

    Posted Tue May 11, 2021 11:50 AM
    Edited by System Admin Fri January 20, 2023 04:30 PM
    Hi, We want to show various report output only on the first page of a list report. A Conditional Blocks or an ordinary Block with an Output Variable seemed to be a good choice. Unfortunately the Layout Function PageNumber() only works with HTML. We want to avoid Layout Calculations but rather want some layout container like a Block or similar. Do you know of any other solution/workaround? Our CA version is 11.1.7.

    ------------------------------
    Philipp Hornung
    ------------------------------
    #CognosAnalyticswithWatson


  • 2.  RE: Layout objects only on first page of PDF report

    Posted Tue May 11, 2021 02:19 PM
    Found a solution myself: Insert a dummy list without columns before the real data list. Set its property "no data contents" to "no data tab". Edit the block of this tab and fill it with whatever you like. It won't be repeated with page breaks of the other list. It works with HTML as well as with PDF.

    ------------------------------
    Philipp Hornung
    ------------------------------