Simple SisenseJS Example - Assemble A Dashboard From A List Of Widgets
Introduction:
Use this sample application as a quick and simple tutorial on sisense JS. It addresses a common use case for allowing a user to assemble a dashboard from a list of available widgets.
Note: This is not production-grade and should only be used for quick and easy learning.
Instructions:
#1 Download the HTML and JSFile.
#2 Edit the HTML file in notepad and replace all instance of jay.sisense.com with your sisense host e.g. localhost:8081
#3 Place the files in the following folder
C:\Program Files\Sisense\app\resources - vs 7.2.x
C:\Program Files\Sisense\PrismWeb\Resources - vs 7.1.x and earlier
Note: This file can also be executed from your web application.
#4 Make sure that you are logged into the Sisense application or have SSO enabled.
#5 Invoke the file in the following format
http://<host>/resources/dash_builder.html?dash=<dashboard ID>
e.g.
#6 The list of widgets (make sure you add Titles to all of them) shows up in the selection list. Choose your widget and then select [+] to add or [-] to remove.

Note: There is no persistence, built in to save the dashboard for each user.
Updated 02-16-2024
intapiuser
Admin
Joined December 15, 2022