COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: Arumugam on 08 Sep 2017 08:26:29 AM

Title: setting default value for value prompt
Post by: Arumugam on 08 Sep 2017 08:26:29 AM
Hi All,

   We are migrating the reports from 10.2.2 to 11.0.5.Issue is with multiselect check box default selection.Javascript is used to set the default value but it is not working in 11.0.5.Even the default selection properties is not working in 11.0.5.It would be great if someone help me to find the issue

Note : Run with Full Interactivity is set to "No"

Javascript used :

<script LANGUAGE="JavaScript">
var a = new array('Promptname','defaultvalue')
<\Script>
Title: Re: setting default value for value prompt
Post by: Arumugam on 12 Sep 2017 09:46:47 AM
I have attached the report xml and script i have used.Script is working fine in 10.2.2 but  coming to 11.0.5,it is not.Could someone please take look on that and suggest any idea to fix this?