Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  Extension to run as pdf

    Posted Thu April 22, 2021 05:38 PM
    I've been asked to find a solution to presenting a "print" option for all reports. To clarify, the print option would really just be to run the current report as PDF output that the users would then print as normal. The current run option is apparently not intuitive enough and they want a single click option. One approach I am currently considering is to implement it as an extension but the builtin action controllers don't provide an option to either run as PDF or open the current report. It would have to be a custom controller it seems. Anyone happen to have already implement such an extension?

    ------------------------------
    Robert Hofstetter
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Extension to run as pdf

    Posted Fri April 23, 2021 01:43 AM

    Hi Robert,
    We also have this requirement in some reports and I just add a text element which has a drill-through defined on the report it is in. Therefore, the report links to itself. In the settings of the drill-through definition just set all needed prompt parameters - if there are some and then set the run options to run the report as PDF. Finished. The disadvantage is that you must do this with every report independently. This can be a lot of work.




    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ
    ------------------------------



  • 3.  RE: Extension to run as pdf

    Posted Tue May 11, 2021 09:19 AM
      |   view attached

    @Robert Hofstetter - I built something within the report using an HTML item to run the report as PDF. (*NOTE* The way the HTML item is coded, will allow it to work in the interactive viewer)

    Attached is the report spec. Not the cleanest solution, but hope it helps.



    ------------------------------
    Denny Narezny
    ------------------------------

    Attachment(s)

    txt
    RunAsPDF.txt   2 KB 1 version