cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member

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:

  1. Create empty Div elements in your html page and assign ids using ‘loc{Index}’ (‘loc1’, ‘loc2’...)
  2. Import SisenseJsPlugNPlay.js
  3. 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);
Rate this article:
Version history
Last update:
‎02-16-2024 12:29 PM
Updated by:
Contributors