Dashboard Embeds

1) Don’t use JSON.stringify() directly in an HTML file

Below is a sample code snippet of an embed similar to what is shown in other parts of the docs.

<explo-dashboard
    dash-jwt="<your-jwt>"
    variables={JSON.stringify({ element1: 'value', element2: 'value2' })}>
</explo-dashboard>

However, if you are embedding directly into an HTML file, you should not use JSON.stringify() as that will break the embed. Instead do something like the below.

<explo-dashboard
    dash-jwt="<your-jwt>"
    variables='{"element1": "value", "element2": "value2"}'>
</explo-dashboard>

Report Builder Embeds

1) Don’t use CSS Transforms with Web Components

This only applies for the report builder (not the dashboard). Many of Explo’s drag-and-drop functionality is not compatible with CSS transforms. Please disable CSS transforms. Note that this is only relevant if you are embedding with the web component.