COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: itssuresh on 23 Apr 2020 10:06:58 PM

Title: How to auto submit value prompts setup on the report page using Javascript?
Post by: itssuresh on 23 Apr 2020 10:06:58 PM
Team,

I have a requirement to auto submit all three prompts that are setup on the report page without using prompt buttons.  Note that changing 'autosubmit' property on all three prompts is not working well and only when 'autosubmit' property is disabled and with a finish prompt button clicked, data on the page is getting refreshed properly.  We are on Cognos 11.0.7 and the report is in interactive mode.
With initial page load, all the prompts are set with default values and the report should load the data as per the default prompt values. With each subsequent change on any of the three value prompts, page should refresh.  If any one has the custom control java script code, can you please provide it to me?

Thanks in advance.

--Suresh
Title: Re: How to auto submit value prompts setup on the report page using Javascript?
Post by: dougp on 01 May 2020 02:22:14 PM
Please define, "not working well."