Drill-down actions are also available for embedded dashboards, but require few extra steps, depending on the embed configuration.
Case 1. Drill-down to the same dashboard
A. on interactive embeds (those with Allow Parameters flag set), the drill-down links are displayed and work as usual.
Example with interactive toolbar
Example without interactive toolbar
B. on non-interactive embeds (Allow Parameters=false), the links are by default not displayed, but can be enabled via additional query parameter enableDrillEvents:
With the drill-down links enabled, when a user clicks on the link, a drillSelect postMessage will be sent to the parent window and the application should perform the desired action, typically generating a new sharingSecret JWT token and updating it in the embed via an updateSharingSecret action.
Case 2. Drill-down to another dashboard
The embed will display the drill-down links only if the enableDrillEvents query parameter is present in the URL. With the links enabled, clicking on it will trigger a drillDown postMessage to the parent window with the target dashboard id.
In both cases when handling the postMessage event, your Javascript code will need to perform the navigation by replacing the embed with the target dashboard embed and passing it the parameters - either in the fixed_parameters in the sharingSecret (if the filter is fixed), or just in the query params if the target dashboard has Allow paramerers set (and the filter is not fixed).