Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Auto Refresh Custom Control

    Posted Wed July 31, 2019 05:57 AM
    Hi

    I am using the new Auto Refresh javascript via a Custom Control.
    Works fine - except it seems to ignore my timer setting.  It just refreshes every 5 seconds no matter what I try.
    Here is the syntax I've used for the 'Configuration'  {"Seconds":300000}  Is it in milliseconds?

    /ibmcognos/samples/JavaScript/AutoRefresh/AutoRefresh.js

    CA 11.1.1

    ------------------------------
    Gill Staniland
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Auto Refresh Custom Control

    Posted Wed July 31, 2019 09:12 AM
      |   view attached
    @Gill Staniland There is a mistake in the js code. I've corrected it. Please replace the attached file with the original file located in /ibmcognos/samples/JavaScript/AutoRefresh/AutoRefresh.js

    ------------------------------
    DENNY NAREZNY
    ------------------------------

    Attachment(s)

    js
    AutoRefresh.js   1 KB 1 version


  • 3.  RE: Auto Refresh Custom Control

    Posted Sat August 03, 2019 08:20 AM
    Hi Denny

    Brilliant! thanks for much.
    Works like a charm now.

    Gill

    ------------------------------
    Gill Staniland
    ------------------------------



  • 4.  RE: Auto Refresh Custom Control

    Posted Thu August 12, 2021 10:21 AM
    Hi Danny,

    Would you mind re-attaching or sending me that AutoRefresh.js file? I'm having the same issue currently and this looks like the fix.

    Thank you,
    Aaron

    ------------------------------
    Aaron Verhoeven
    ------------------------------



  • 5.  RE: Auto Refresh Custom Control

    Posted Fri August 13, 2021 11:08 AM
      |   view attached
    @Aaron Verhoeven Attached is the AutoRefresh.js Let me know if you have any issues.

    ------------------------------
    DENNY NAREZNY
    ------------------------------

    Attachment(s)

    js
    AutoRefresh.js   1 KB 1 version


  • 6.  RE: Auto Refresh Custom Control

    Posted Fri August 13, 2021 11:12 AM
    @DENNY NAREZNY Thank you very much!​​​

    ------------------------------
    Aaron Verhoeven
    ------------------------------