HTML block to embed a filtered Data Table

If ctx.deviceId is available in a custom HTML block, I am not seeing that when I do a query to a data table as below. I can see ctx.deviceId is other widgets in the same dashboard for example in a indicator block

Hey @Sreyams_Jain1,

Unfortunately, Templating is not supported within your HTML, CSS, and JS. However, in the docs:

see line: ctx.<variableName> - The value of any context variable on your dashboard.

This means you’re able to access these values in JS like so:

DashboardBlock.ctx.deviceId