Quando omni flunkus, mortati. Die dulci fruere.

| Subscribe via RSS

Wednesday, August 26, 2009

Remove the Dotted Line/Title(parameter) in Cognos 8.4

|

Need to remove the dotted line and title of a value prompt? Create an HTML Item in your report and fill it with the following Javascript:



<script>
var f = getFormWarpRequest();
var prompt = f._oLstChoicesX;
prompt.remove(1);
prompt.remove(0);
prompt.removeAttribute("hasLabel");
</script>

Where X is the name of the prompt specified in the properties. This tip works with Cognos 8.4. There are other Javascript methods for earlier versions.





0 comments: