Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello there,
We are currently developing a document extension that needs to be able to create and set QV variables from the Javascript side. Is that possible? We have tried using the SetVariable(name, value)-function of the document object, but with no success unless the variable in question is already predefined either within the QV load script or the dedicated variable manager.
Thanks,
Martin
Hey Martin,
No you can't create variables from the JS Api, they have to be created from within the QV Desktop client or at script reload.
However once the variables are present in your application you can interact with them through the Get and SetVariable functions.