Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Setting QV variables from the JS side

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

1 Reply
Alexander_Thor
Employee
Employee

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.