Easy Pivot Logo
  • Pricing

Manual

OverviewFolder SystemData Sources
User and RoleRestful Interfaces

Integration

Embedding Dashboards as iframeIntegration Using Async Message
Integration

Embedding Dashboards as iframe

Embedding Dashboards as iframe

Embedding Dashboards as iframe

Integration Auth

For page access security, IBI supports the following authentication methods:

  • Authentication via the share ID generated by dashboard sharing, parameter: shareid. The shareid contains dashboard ID (boardId) information.
  • Authentication via username and password, parameters: userName/password. The password supports plaintext or MD5 encrypted authentication.
  • Authentication via JWT token, parameter: token.

Authentication Check Priority

token > shareid > username and password

Single Dashboard (PC)

The URL format for single dashboard integration is as follows:

https://bi.epivotlabs.com/appname/render.html?[key=value]

For external system integration, the dashboard sharing feature can be used to generate an accessible link from outside. The operation is as follows:

Free Layout Dashboard → Share → Select a sharing link validity period → Click Add:

After that, the dashboard can be accessed elsewhere. The dashboard accessed via this link does not include the surrounding menu bar and dashboard parameters.

Filter Parameter by URL

Keys are case-sensitive; this will not be repeated in subsequents.

KeyDescriptionDefault
shareidGenerated via dashboard sharing. The shareid contains the dashboard ID and the dashboard parameter state when the sharing instance was created.
boardIdDashboard ID. Not required to pass if using shareid.
showParamGlobal control to show/hide the parameter bar on the dashboard. Acceptable values: 0/1, true/false.true
hiddenPNamesControls hiding specific parameters in the parameter bar. Pass an array of parameter names, e.g., ['Parameter Name 1','Parameter Name 2'].
showTitleControls whether to show the original dashboard title. Acceptable values: 0/1, true/false.true
showExportControls whether to show the export button.false
filtersControls the filter content of dashboard parameters. The value format is a JSON object.
localeMultilingual support, only affects system menu items.cn/en
Other ParametersOther parameters will be interpreted as environment variables.

Parameter Details

showParam

Global control to show/hide the parameter bar on the dashboard. Acceptable values: 0/1, true/false. If not provided, defaults to showing the parameter bar.

http://localhost:8088/render.html?shareid=N9SYIQ9r&showParam=false
http://localhost:8088/render.html?shareid=N9SYIQ9r&showParam=0

hiddenPNames

Controls hiding specific parameters in the parameter bar. Pass an array of parameter names. For example, the following request can hide the parameter named User on the dashboard to prevent users from modifying it.

http://localhost:8088/render.html?shareid=N9SYIQ9r&hiddenPNames=['User']

Parameter names can be compatible with both single and double quotes.

showTitle

Controls whether to show the original dashboard title.

http://localhost:8088//render.html?shareid=N0zt6xJw&showTitle=false#/

showExport

http://localhost:8088//render.html?shareid=N0zt6xJw&showExport=true#/

filters

The state of dashboard parameters can be set by passing a JSON object (generally generated by external integration system code). The specific format is as follows:

{
    "boardParams": [
        {
            "id": "mpgxi01ev6k",
            "name": "User",
            "type": "=",
            "values": ["aaa", "bbb"]
        },
        {
            "id": "2khmtv1s63p",
            "name": "User Name",
            "type": "=",
            "values": []
        }
    ]
}
  • This JSON object can be extracted via the URL Parameter Tool. Users decide whether to URL-encode it before passing based on the complexity of parameter values.
  • Association with parameters on the dashboard is via the id. Items that cannot be associated are discarded. The name property in filter items is optional; removing it can reduce parameter length.
  • type: Different parameter types have different type values. It is recommended to check and debug via the URL Parameter Tool before setting.
    const EQ = '=',
        NEQ = '≠',
        GT = '>',
        LT = '<',
        GET = '≥',
        LET = '≤',
        LIKE = 'like',
        NOT_LIKE = 'not like',
        GEL = '(a,b]',
        EGL = '[a,b)',
        GL = '(a,b)',
        EGEL = '[a,b]';
Parameter FormSupported Types
General FilterSupports all types
Date RangeSupports closed interval [a,b]
Checkbox, DropdownSupports equality filter =
Keyword InputLike
http://host/render.html?shareid=N9SYIQ9r&filters={"boardParams":[{"id":"mpgxi01ev6k","name":"用户","type":"=","values":["aaa","bbb"]},{"id":"2khmtv1s63p","name":"用户名","type":"=","values":[]}]}

// After applying encodeURIComponent to filters
http://host/render.html?shareid=N9SYIQ9r&filters=filters=%7B%22boardParams%22%3A%5B%7B%22id%22%3A%22mpgxi01ev6k%22%2C%22name%22%3A%22%E7%94%A8%E6%88%B7%22%2C%22type%22%3A%22%3D%22%2C%22values%22%3A%5B%22aaa%22%2C%22bbb%22%5D%7D%2C%7B%22id%22%3A%222khmtv1s63p%22%2C%22name%22%3A%22%E7%94%A8%E6%88%B7%E5%90%8D%22%2C%22type%22%3A%22%3D%22%2C%22values%22%3A%5B%5D%7D%5D%7D

locale

Multilingual support for system menu items.

http://localhost:8088//render.html?shareid=N0zt6xJw&showExport=true&locale=en#/

Single Chart (PC)

The URL format for single chart integration is as follows:

Integration Authentication

Token authentication is recommended.

https://bi.epivotlabs.com/appname/render.html?widgetId=xxx

Mini App (PC)

The format for thematic analysis integration is as follows, where the id parameter is the thematic analysis ID.

Integration Authentication

Token authentication is recommended.

https://bi.epivotlabs.com/appname/mini-app.html?id=appId

Multiple Dashboards (PC)

The URL format for integration is as follows:

https://bi.epivotlabs.com/appname/render-lite.html?boards=[json array]&other variable definitions

URL Variable

KeyDescription
AuthenticationRefer to Integration Authentication. Multi-dashboard integration does not support shareid.
boardsDefinition of multiple dashboard objects to be integrated.
baseServerUrlRedirect server address. Can be used when deploying the front-end as an independent module in a distributed scenario.
boardStyleMulti-dashboard integration affects dashboard display area styling.
localeMultilingual support, only affects system menu items.
Other ParametersOther parameters can be used as global variables. Local variables (variables) can override global variables.

boards

boards is a JSON array string, where each member corresponds to an integrated tab page (one dashboard). The accepted parameters are basically the same as for single dashboard integration.

[
    {
        showParam: true,
        showExport: true,
        title: 'First Board',
        boardId: 63,
        hiddenParamNames: [],
        filters: {
            boardParams:[{
                id: '5chiv3mmalw',
                name: 'country',
                type: '=',
                values: ['Canada']
            }]
        },
        variables: {
          country: 'USA'
        }
    },
    //...
]

This integration link is generally generated automatically by code after users read IBI metadata.

boardStyle

The style of the dashboard display area, as a URL-encoded CSS string.

http://localhost:8088/render-lite.html?userName=peter&password=xxxboardStyle=background-color%3Ared

Cockpit (URL)

https://bi.epivotlabs.com/appname/cockpit.html?boardId=id&other variable definitions

URL Parameter

KeyDescription
AuthenticationRefer to Integration Authentication.
boardIdDefinition of multiple dashboard objects to be integrated. Using a share link for integration does not require boardId.
filtersRefer to filters.
localeMultilingual support, only affects system menu items.
Other ParametersOther parameters can be used as global variables. Local variables (variables) can override global variables.

Cockpit Group

Generate integration addresses via the sharing feature.

URL Parameter

KeyDescription
Authenticationshareid, username/password, token, generated via Cockpit group sharing.
boardIdNot required to pass when integrating via shareid.
filtersCockpit groups need to pass parameters for multiple dashboards, so the format differs from single dashboard parameters. Refer to the below.
localeMultilingual support, only affects system menu items.
Other ParametersOther parameters can be used as global variables. Local variables (variables) can override global variables.

Filters Parameter Format

Can be generated via the URL Parameter Tool in the sharing window. Filters added to the URL need to be encoded. The name property in parameter items can be omitted. Parameter matching is associated via id.

{
    boardParams: [{
        boardId: xxx,
        filters: [{"id":"5chiv3mmalw","name":"Country","type":"=","values":["USA"]}]
    }]
}

Single Dashboard (Mobile)

https://bi.epivotlabs.com/mobile deployment address/render.html?boards=xxx
KeyDescription
AuthenticationRefer to Integration Authentication.
boardIdNot required to pass when integrating via shareid.
filtersRefer to filters.
localeMultilingual support, only affects system menu items.
Other ParametersOther parameters can be used as global variables. Local variables (variables) can override global variables.

Multiple Dashboard (Mobile)

https://bi.epivotlabs.com/mobile deployment address/render.html?boards=xxx

URL Parameter

KeyDescription
AuthenticationRefer to Integration Authentication. Multi-dashboard integration does not support shareid.
boardsDefinition of multiple dashboard objects to be integrated, consistent with PC multi-dashboard integration. Format
localeMultilingual support, only affects system menu items.
Other ParametersOther parameters can be used as global variables. Local variables (variables) can override global variables.

Mini App (Mobile)

https://bi.epivotlabs.com/mini-app.html?id=appId

URL Parameter

KeyDescription
AuthenticationRefer to Integration Authentication. Does not support shareid.
idThematic analysis ID.
Other ParametersOther parameters can be used as global variables. Local variables (variables) can override global variables.

Restful Interfaces

Restful Interfaces

Integration Using Async Message

Integration Using Async Message

On this page

Embedding Dashboards as iframeIntegration AuthSingle Dashboard (PC)Filter Parameter by URLParameter DetailsshowParamhiddenPNamesshowTitleshowExportfilterslocaleSingle Chart (PC)Mini App (PC)Multiple Dashboards (PC)URL VariableboardsboardStyleCockpit (URL)URL ParameterCockpit GroupURL ParameterFilters Parameter FormatSingle Dashboard (Mobile)Multiple Dashboard (Mobile)URL ParameterMini App (Mobile)URL Parameter
Log InStart Free