You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a simple QueryVariable, like this: function getVariable() { return new QueryVariable({ name: 'output', datasource: ABCD, query: SELECT blabla, hide: VariableHide.hideVariable, }); }
I use it as SceneVariableSet, like: return new EmbeddedScene({ $variables: new SceneVariableSet({ variables: [ getVariable() ], }),...
For display I use it in a textPanel, like: const textPanel = PanelBuilders.text() .setTitle("title") .setOption("content", "Variable: <b>${output}</b>" ).build()
Question: how can I modify the value of the variable (named 'output' here) before display it? It should be a string, I want manipulate that, like uppercase oder so.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Hi,
I have a simple QueryVariable, like this:
function getVariable() { return new QueryVariable({ name: 'output', datasource: ABCD, query:
SELECT blabla, hide: VariableHide.hideVariable, }); }
I use it as SceneVariableSet, like:
return new EmbeddedScene({ $variables: new SceneVariableSet({ variables: [ getVariable() ], }),...
For display I use it in a textPanel, like:
const textPanel = PanelBuilders.text() .setTitle("title") .setOption("content", "Variable: <b>${output}</b>" ).build()
Question: how can I modify the value of the variable (named 'output' here) before display it? It should be a string, I want manipulate that, like uppercase oder so.
Thank you in advance.
The text was updated successfully, but these errors were encountered: