Script Help Section
Use Script Help to quickly find examples and snippets for writing component- and dashboard-level scripts in Designer.
BDB Dashboard Designer’s SDK scripting lets you go beyond drag-and-drop by controlling dashboard behavior with JavaScript. Use it to create dynamic, highly interactive experiences—wire events, pass state between components, apply conditional formatting, and orchestrate refreshes—all from the Component Variables & Script window.
When to use SDK scripting
Cross-component interactions: Click a bar → filter a table, update a KPI, refresh a map.
Dynamic UI/state: Update titles, thresholds, and colors in response to user selections or data.
Advanced logic: Cascading filters, derived metrics, conditional visibility, custom navigation.
The BDB SDK exposes a set of methods and objects that allow you to programmatically control your dashboard elements, providing a level of flexibility previously only available through custom application development.