Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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.