VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

Is there a way to update the value of a dashboard variable from custom code? #277

Closed rantinray closed 1 year ago

rantinray commented 1 year ago

Hi,

I am using Custom Code for the Initial and Update requests. I would like to update a ${serverStatus} dashboard variable from the Custom Code. Is this possible?

Thanks, -Ray

mikhail-vl commented 1 year ago

@rantinray It's described in the documentation: https://volkovlabs.io/plugins/volkovlabs-form-panel/code/#update-variable-after-update-request-to-interact-with-other-panels