cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Download: Script Indicator
Introduction
 This article explains how to add an icon to indicate if a custom script exists for the widget. The icon can also act as a shortcut button to open the Script Editor page and the Widget Editor page.
Purpose/Benefits
JavaScript scripts can be added to widgets in Sisense to extend and customize functionality. Dashboard designers may find it hard to identify at a glance which widgets have a custom script attached.
This plugin adds an icon indicating that a script is present.
Steps
The following steps will walk you through the process of adding the plugin and the indicator icon.

STEP 1 – ADD THE PLUGIN

Download the attachment and unzip the contents into your C:\Program Files\Sisense\PrismWeb\plugins\  folder. If you are using version 7.2 and higher unzip the contents into your C:\Program Files\Sisense\app\plugins\ folder. If the plugins folder doesn't exist, just create it.

STEP 2 – CONFIGURE SETTINGS (OPTIONAL)

Open the config.js file located in the plugins folder in a text editor such as Notepad++ where you can edit the options to your liking.

The available options are:
 
widget_indicator_on
true, false
Display or hide the indicator icon
open_on_click_enabled
0,1,2
Specify the button’s action:
0 – no action
1 – open the script in a Script Editor window.
2 - (default) - open the widget in a Widget Editor window and the sctip in a Script Editor window
 
Notes
  1. The script indicator icon will only be visible to Designer and Admin roles. 
Version history
Last update:
‎03-02-2023 09:12 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

Sisense Privacy Policy