HTML and JavaScript in dashboards

You can create a dashlet that contains your custom HTML. The HTML can reference an external CSS file or use internal styling.
Caution: 
HTML dashlets are not approved for use with Infor Government Solutions (IGS).

The custom HTML can include JavaScript. You can use 3rd party visualization libraries such as the Google Visualization API or D3.js.

  • Embedding HTML in Dashlets
  • Example: Embedded Google Vidsualization
  • Example: Embedded D3 Visualization

When working with HTML and JavaScript in Dashboards, note that:

  • The URL of the 3rd party code must be publicly accessible. If you do not see the website in the preview, the site may be configured to not allow embedding on other websites.
  • Any URLs in the code must use HTTPS because Birst is hosted over HTTPS.
  • Because the HTML is already inside Birst, a login token is not required in the code.
  • Although you can define CSS directly inside the HTML Editor, the custom style must only affect the external visualization and not conflict with the overarching Dashboards theme.
  • If the JavaScript is lengthy, consider providing some of it in a JavaScript library and then include a JavaScript src source reference to it in the HTML Editor.