Cognos Analytics

Expand all | Collapse all

Java Script for Value Prompt

  • 1.  Java Script for Value Prompt

    Posted 02-11-2019 02:07 PM
    Hi Can any one help me with the java script. Thanks
    1) we need by default when ever the prompt page executes the value prompt is set to its fist value. I know how to make it work in 10.2.2 but I want to achieve the same feature in Cognos 11 and keeping the interactive mode to be true.

    2) I also need java script to clear the prompt values when ever the prompt page is executed.

    ------------------------------
    Pradeep Sahay
    ------------------------------


  • 2.  RE: Java Script for Value Prompt

    Posted 02-12-2019 02:11 AM
    Edited by Lubomir Jungwirth 02-12-2019 02:12 AM
    Hello,
    in general you need to separate the report and the java script if you want to keep an interactive mode. Read this article: https://www.ibm.com/communities/analytics/cognos-analytics-blog/javascript-support-in-interactive-viewer/
    Regards,

    ------------------------------
    Lubomir Jungwirth
    ------------------------------