Team,
I have built a Report in Cognos 11.0.5 Version and with Report Styles 11.4 (Attached)
I wanted to remove the Parameter Name & Dotted Line from the Value prompt and I have used the below code, but it is not working.
Problem
The Value prompt is in the Report Page and it has Auto submit Property. The client doesn't want to use to Prompt button. So when the user select the 'Parameter Name / Dotted Line" the Page is refreshed, which should not be. Please let me know if anyone has implemented the Javascript in 11.0.5 Version
<script>
var list=document.getElementsByTagName("SELECT")[0];
list.remove(1);
list.remove(0);
list.removeAttribute("hasLabel");
list.options[0].selected = true;
canSubmitPrompt();
</script>
This is possible without javascript, you just have to change the default text for Header Property to blank.
I agree with Adam, but this feature is broken.
In 10.2.1, setting the Header Text property to blank would do the trick. In 11.0.4 and 11.0.6, this only works if the "Run with full interactivity" property is set to No. IBM claims this will be fixed in 11.0.7.
http://www-01.ibm.com/support/docview.wss?crawler=1&uid=swg1PI77362 (http://www-01.ibm.com/support/docview.wss?crawler=1&uid=swg1PI77362)
Thank you! I have changed Report Interactive behavior and it solved the Problem