Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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

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


talk is cheap, supply exceeds demand