COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: cognewbie2023 on 25 Apr 2023 01:44:33 PM

Title: Cognos PDF data caching
Post by: cognewbie2023 on 25 Apr 2023 01:44:33 PM
Hi everybody,
I am hoping someone would have a solution to my data caching issue. I have a Cognos report in 11.1.7 that I am passing url parameter to.
The issue is that when I run the report in PDF, it has cached old data and Cognos does not accept the parameter I am passing via url.
I have a very simple report with one parameter value being passed into a list. The parameter value changes fine when report runs as HTML(without &format =PDF) .

URL: http://biurl.. &action=run&format =PDF&run.prompt=false&p_paramname=<paramvalue>

I am using Microsoft Edge and have tried the following to resolve the issue but it has not worked:
1) Used ...'Clear All Parameters' within the report
2) Deleted cookies and history from browser
3) On the Cognos administration console, tried Configuration tab --> Query Service Catalog --> Default Server Group --> Clear cache --> Succeeded
4) Changed &run.prompt=true to force the prompt to run and take the parameter value
5) Updated report xml to include <XMLAttribute name="paramsCacheDisabled" value="true"/>