Membuat Dashboard terintegrasi di Sisense



You can embed Sisense dashboards and widgets in non-Sisense environments, such as in your own websites or applications.

Embedding Dashboards

To embed a dashboard, add “?embed=true” to the url of the dashboard, and refresh the page. If you dashboard is within a folder, then first delete “?folder=” and everything that follows, before adding “?embed=true”.
Dash in folder
This will open the dashboard without the surrounding Sisense environment.
For example:
Dashboard URL:
http://mysite.com/app/main#/dashboards/536f2b70d093e26c280000d5
Embedded URL:
http://mysite.com/app/main#/dashboards/536f2b70d093e26c280000d5?embed=true
Dashboard URL for dashboard within folder:
http://mysite.com/app/main#/dashboards/536f2b70d093e26c280000d5?folder=54bce25f1dc61a1804000109
Embedded URL for dashboard within folder:
http://mysite.com/app/main#/dashboards/536f2b70d093e26c280000d5?embed=true
You can use this URL to embed the dashboard in an iFrame, for example:
<iframe id=”ifm” name=”ifm” width=”100%” height=”100%” frameborder=”0″ src=“http://mysite.com/app/main#/dashboards/536f2b70d093e26c280000d5?embed=true″ scrolling=”auto”></iframe>

Dashboard Embedding Configuration Options

You can control which portions of the Sisense environment are available when embedding by concatenating the following parameters to the embedding url:

Show/Hide the left navigation panel

Parameter: “l” (left)
Default: false
Example: ?embed=true&l=true

Show/Hide the right filter panel

Parameter: “r” (right)
Default: true
Example: ?embed=true&r=false

Show/Hide the toolbar

Parameter: “t” (toolbar)
Default: false
Example: ?embed=true&t=true

Show/Hide the environment header

Parameter: “h” (header)
Default: false
Example: ?embed=true&h=true
embedding



Embedding Widgets

To embed a single widget, add “?embed=true” to the url of the widget when it edit mode.
This will open the widget without the surrounding Sisense environment.
For example:
Dashboard URL: http://mysite.com/app/main#/dashboards/536f3a54d093e26c28000114/widgets/536f3a54d093e26c2800011b
Embedded URL: http://mysite.com/app/main#/dashboards/536f3a54d093e26c28000114/widgets/536f3a54d093e26c2800011b?embed=true
You can use this URL to embed the widget in and iFrame, for example:
<iframe id=”ifm” name=”ifm” width=”100%” height=”100%” frameborder=”0″ src=“http://mysite.com/app/main#/dashboards/536f3a54d093e26c28000114/widgets/536f3a54d093e26c2800011b?embed=true″ scrolling=”auto”></iframe>

Widget Embedding Configuration Options

You can control which portions of the Sisense environment are available when embedding by concatenating the following parameters to the embedding url:

Show/Hide the left data panel

Parameter: “l” (left)
Default: false
Example: ?embed=true&l=true

Show/Hide the right design panel

Parameter: “r” (right)
Default: false
Example: ?embed=true&r=false

Show/Hide the toolbar

Parameter: “t” (toolbar)
Default: false
Example: ?embed=true&t=true

Show/Hide the environment header

Parameter: “h” (header)
Default: false
Example: ?embed=true&h=true

Authentication in Embedded Dashboards and Widgets

All Sisense dashboards and widgets require authentication. When embedding dashboards and Widgets outside of the Sisense environment, usually the use case is to not enforce the Sisense environment authentication, but rather use Single Sign On with existing corporate authentication. To read more on configuring Single Sign in Sisense, go here.