Analytics Scripts not Saving

Has anyone had problems when try to add a script to a widget and, although you get the "Script Saved", it never seems to be applied?

I've got it in a neighbouring widget but it just doesn't want to populate in this one

widget.on("beforeviewloaded",function(scope, args){
args.options.plotOptions.series.connectNulls = true;
});
     
widget.on('render', function(sender,se){
for (var i = 0; i < sender.queryResult.series.length; i++ ) {
    for (var j = 0; j < sender.queryResult.series[i].data.length; j++) {
        sender.queryResult.series[i].data[j].marker.enabled = false;
         }
    }
}
)

Parents
  • Hi Heath, 

    Sisense is a little picky with the script save process. The most reliable steps are:

    1. From the Edit Widget page, open the Edit script page, which opens in a new window.
    2. Update the script and click Save, which prompts with "Script Saved".
    3. Leave the script window open and return to the Edit Widget page and refresh.
      1. This is easiest in the web where you will return to the Edit Widget screen. Click Apply on the Edit Widget page.
      2. In the desktop app, right click somewhere where you can get the browser context menu - as opposed to the Sisense once - and select Hard Reload. You'll be taken back to the Analytics Welcome screen, but navigate back to your dashboard and widget.
    4. The script changes should now be applied, and you can close the script page if the no further script edits are required.
Reply
  • Hi Heath, 

    Sisense is a little picky with the script save process. The most reliable steps are:

    1. From the Edit Widget page, open the Edit script page, which opens in a new window.
    2. Update the script and click Save, which prompts with "Script Saved".
    3. Leave the script window open and return to the Edit Widget page and refresh.
      1. This is easiest in the web where you will return to the Edit Widget screen. Click Apply on the Edit Widget page.
      2. In the desktop app, right click somewhere where you can get the browser context menu - as opposed to the Sisense once - and select Hard Reload. You'll be taken back to the Analytics Welcome screen, but navigate back to your dashboard and widget.
    4. The script changes should now be applied, and you can close the script page if the no further script edits are required.
Children