Implement dashboard variable for backend datasource

Hi,

I am currently trying to develop a backend data source for the TSDB Warp10.
I have some questions regarding the implementation of a dashboard variable support that can’t find documentation to resolve.
I use the class CustomVariableSupport to add this support.

1 - How to fill in the Definition field in the Variables section of the dashboard settings?

2 - Is it possible to force in the code the value of Custom all value in the edit page of a variable?
Screenshot_20230516_084640

Regards,

Hello!

  1. To fill the definition you can fill either the definition or query field of the VariableModel.
  2. This is not possible.

I don’t use VariableModel.

Do you have a link to an implementation using VariableModel? or link to an implementation of this definition property?

If you want to see my implementation of the variable editor you can go here.