Creating Dashboards - best practice? json or js?

Hi all,

what are your recommendation to create dashboards?

In our project we created some dashboards as json via exporting a simple dashboard and afterwards customizing it.
But, in the "query" parts we have some logic / queries that are complicated.

I really would like to test (or debug) these queries, but I don't think this is possible within the json files.

So, what could I do?
Rewrite the json dashboards to js dashboards?
Or is it possible to implement the logic / queries in a js file and import this in the json?

Thanks and regards,
Marcel

1 Like

I'd stick with templated dashboards if you can get away with it -- they are a good option, if you just want to customize a couple of attributes. Scripted dashboard are much more powerful, but harder to build and maintain.