SisenseJS Plug N Play - Embed In Minutes!
Sisense JS Plug N Play - Embed In Minutes!
A simple and easy jump start solution for embedding Sisense using Sisense.js on your website!
DEPENDENCIES:
- JQuery
- SisenseJsPlugNPlay.js
- Sisense deployment with open CORS
- Cookie from sisense (using SSO, can be tested by logging into sisense webapp on a different tab in the browser)
HOW TO USE:
- Create empty Div elements in your html page and assign ids using ‘loc{Index}’ (‘loc1’, ‘loc2’...)
- Import SisenseJsPlugNPlay.js
- Create a configuration object:
var config = {
settings: {
server: '{SISENSESERVERURL}',
dashboardidtouse: '{DASHID}',
elasticube: {
title: "{ECTITLE}",
id: "{ECID}",
address: "{ECADDRESS}",
database: "{ECDB}"
}
},
app: null,
dashboard: null,
widgetsIdList: ['WID1', 'WID2', 'WID3', 'WID4', 'WID5'],
myWidgetsDict: {},
widgetsInDashDict: {},
}
Call:
SisenseJSPlugNPlay(config);
Updated 02-16-2024
intapiuser
Admin
Joined December 15, 2022