For the second option (using CMS) you can pass parameters (i.e prompt answers) through the URL, as well. You can use the simplified "p_" format (for example, to add a parameter value of "red", for a report parameter named "colour", you add a "?p_colour=red" to your URL, or for more complicated parameter responses, you can add the ?xmlData query parameter to your URL. Both these options are described in more detail here.
Original Message:
Sent: Thu December 28, 2023 08:39 AM
From: Veljko
Subject: Save report as a PDF without but not opening in browser tab
First, thank you all for answering. Can you maybe be more precisely, what I have to do for the second option. I am sending parameters through URL. Also, since I ma using and Cognos 8 and Cognos 11.2 :), is this possible for both versions.
Thank you
------------------------------
Veljko
Original Message:
Sent: Tue December 12, 2023 05:16 PM
From: Jim Boland
Subject: Save report as a PDF without but not opening in browser tab
Hi Veljko,
I think @Patrick Neveu's reply is what you're looking for. I'm adding a couple of other options, just in case ;-) .
1. CA embedding view syntax - you can ask Cognos for a report/dashboard without the Cognos "glass" around it, by specifying &ui_navbar=false&ui_appbar=false on the end of the CA URL (the full syntax for the "custom URL" format is described here.)
2. Using CMS to retrieve just the raw PDF output - this was discussed recently in another post here. (you probably want to read the whole thread for context).
Example:
https://us3.ca.analytics.ibm.com/bi/v1/disp/rds/outputFormat/report/i15E936FAE97A43AE88385CADB5B7807E/PDF?p_product=Earl%20Grey&p_type=Black%20tea&async=off
------------------------------
Jim Boland
LinkedIn: https://www.linkedin.com/in/jimboland
Website: https://coreinsightz.com
Email: jimboland@coreinsightz.com
Original Message:
Sent: Wed December 06, 2023 01:29 PM
From: Veljko
Subject: Save report as a PDF without but not opening in browser tab
Hi, I am calling Cognos report from other application, and all parametars are send to report through application. Now I want to output be opened in PDF format, but I don't want to that be in the browser.
I am using similary BI Publisher and it particularly saves report in PDF in temporarily files and opens pdf automatically and user can save as it where he wants.
Thanks
------------------------------
Veljko
------------------------------