<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic vbs to build qvw from source control: null error in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/vbs-to-build-qvw-from-source-control-null-error-in-script/m-p/881980#M1233710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below script by &lt;A href="https://community.qlik.com/qlik-users/2286" target="_blank"&gt;rwunderlich&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1428560764954839" jivemacro_uid="_1428560764954839"&gt;
&lt;P&gt;Set Qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set docObj = Qv.CreateDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.SaveAs qvwFullPath&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.CloseDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set docObj = Qv.OpenDocEx (qvwFullPath,0,false)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.Save&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.CloseDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Qv.Quit&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am getting some exceptions as shown below&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83152" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83152_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I have also tried using a similar solution/script given on the community but then getting some other exception as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83153" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/83153_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>vbs to build qvw from source control: null error in script</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-to-build-qvw-from-source-control-null-error-in-script/m-p/881980#M1233710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below script by &lt;A href="https://community.qlik.com/qlik-users/2286" target="_blank"&gt;rwunderlich&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1428560764954839" jivemacro_uid="_1428560764954839"&gt;
&lt;P&gt;Set Qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set docObj = Qv.CreateDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.SaveAs qvwFullPath&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.CloseDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set docObj = Qv.OpenDocEx (qvwFullPath,0,false)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.Save&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;docObj.CloseDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Qv.Quit&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am getting some exceptions as shown below&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83152" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83152_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I have also tried using a similar solution/script given on the community but then getting some other exception as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83153" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/83153_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-to-build-qvw-from-source-control-null-error-in-script/m-p/881980#M1233710</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
  </channel>
</rss>

