Author Topic: Disable ability to run report as PDF.  (Read 117 times)

Offline Spyhop

  • Full Member
  • ***
  • Join Date: Nov 2013
  • Posts: 11
  • Forum Citizenship: +0/-0
Disable ability to run report as PDF.
« on: 17 Mar 2020 05:11:12 pm »
I have a report that looks terrible in PDF, I would like to be able to prevent a user from being able to "Run as" PDF.

I tried to create a render variable, based on ReportOutput() function, to hide the prompts, and the 'Finish' button on the prompt page and display a message that PDF is not available when the user selects "Run as PDF". No luck.

I tried to display the value returned from ReportOutput() in a layout calculation but no matter what format I ran the report in it always displayed 'XHTMLFRGMT'

Thanks

Offline Spyhop

  • Full Member
  • ***
  • Join Date: Nov 2013
  • Posts: 11
  • Forum Citizenship: +0/-0
Re: Disable ability to run report as PDF.
« Reply #1 on: 18 Mar 2020 10:01:55 am »
I have learned that the ReportOutput() function value selected by the user is not available on the prompt page, once the report is run I see the correct value being returned from the function.

Offline dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 497
  • Forum Citizenship: +22/-1
Re: Disable ability to run report as PDF.
« Reply #2 on: 18 Mar 2020 10:26:21 am »
What version of Cognos Analytics?  I remember having this problem and worked with IBM Support.  I think the problem was fixed.

I saw the problem in 11.0.7.  I'm now using 11.0.13 FP1.  (I don't remember if it works now or if it is fixed in a fix pack after FP1.)

 


       
Twittear