Forum Discussion

RaphaelV's avatar
RaphaelV
New Contributor II
20 hours ago

Event Listeners / Custom Control in a Dynamic Dashboard

Hello,

To standardize the look and feel of my dashboards, I would like to create a reusable dashboard template for a toolbar. The Menu component seems well suited for this purpose. However, some actions (for example, Save) cannot be defined at the menu item level and are only available at the menu component level.

As a workaround, I am using Event Listeners: each menu item sends a parameter value, which is then used as the Event Listener name. This allows me to have one menu item that performs a Save action, another that launches a business rule, another that opens a dialog, etc.

This approach works fine until the Custom Control dashboard is embedded in a Dynamic Dashboard. The issue can be easily reproduced by embedding the dashboards described in this blog post into a dynamic dashboard.

Any help or guidance would be greatly appreciated.

Thanks in advance.

1 Reply

  • sameburn's avatar
    sameburn
    Icon for OneStream Employee rankOneStream Employee

    Hi RaphaelV​ 

    Dynamic Dashboards are great but they have no awareness of the Custom Control Dashboard Type currently. 

    You could achieve your use case using either approach here e.g. Dynamic Dashboards or Custom Control (the former requires more code)...  But they are not currently mutually exclusive

    I hope this helps 

    Sam