Cognos Analytics

 View Only
  • 1.  Java Script for Value Prompt

    Posted Mon February 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
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Java Script for Value Prompt

    Posted Tue February 12, 2019 02:11 AM
    Edited by System Fri January 20, 2023 04:09 PM
    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
    ------------------------------



  • 3.  RE: Java Script for Value Prompt

    Posted Tue July 30, 2019 03:13 AM
    I have applied same script to 2 pages of same report. one page it is working on another it is not working.. Is it any limitation of CA. If possible please guide me. Thanks.

    ------------------------------
    Nidhi Pawaiya
    ------------------------------