Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

assign variable from command line

Hello

I need to open a document from command line and I want to assign a previously created variable in the variable overview and give it the value of either Close or Open so that based on this value a macro will execute in 2 ways depending on the value I pass

please provide me with the complete syntax

Regards,

I can walk on water when it freezes
1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can pass values to variables using the /v option:

qv.exe /r /vMyVariable=Open MyDoc.qvw


talk is cheap, supply exceeds demand