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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

vbs to build qvw from source control: null error in script

Hi,

I am using the below script by rwunderlich

Set Qv = CreateObject("QlikTech.QlikView")

Set docObj = Qv.CreateDoc

docObj.SaveAs qvwFullPath

docObj.CloseDoc

Set docObj = Qv.OpenDocEx (qvwFullPath,0,false)

docObj.Save

docObj.CloseDoc

Qv.Quit

However, I am getting some exceptions as shown below

I have also tried using a similar solution/script given on the community but then getting some other exception as below

I simply need a vbs or preferably powershell script to create a qvw from prj, save and close through a script. Can someone please guide

Shah

0 Replies