<?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 Re: QlikView: Extract Script from QVW\QVF - Automated in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536042#M1226738</link>
    <description>&lt;P&gt;I will test this out, but looks promising. Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2025 22:01:44 GMT</pubDate>
    <dc:creator>Luis_Galvan</dc:creator>
    <dc:date>2025-11-12T22:01:44Z</dc:date>
    <item>
      <title>QlikView: Extract Script from QVW\QVF - Automated</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536034#M1226736</link>
      <description>&lt;P&gt;Have anyone run successfully a code to extract the scripts from QVW\QVFs files in QlikView into QVS using an external code such PowerShell, VBS, Python, etc.? The catch is that the code must&lt;/P&gt;&lt;P&gt;1. Loop all QVW\QVF files in a directory share folder (all sub-folders and files in those sub-folders).&lt;/P&gt;&lt;P&gt;2. Needs to run in non-interactive mode (back-end)&lt;/P&gt;&lt;P&gt;I have created a code in PowerShell, and it is running as expected, but it only runs through an interactive session. I used the concept build in the document analyzer version in&amp;nbsp;&lt;A href="https://qlikviewcookbook.com/2017/01/the-document-analyzer-compare-tool/" target="_blank" rel="noopener"&gt;https://qlikviewcookbook.com/2017/01/the-document-analyzer-compare-tool/&lt;/A&gt;&amp;nbsp;built by Rob Wunderlich. I have a challenge to run it in non-interactive mode as the code can only open the QlikView application using COMObject cmd:&lt;/P&gt;&lt;P&gt;$qv = New-Object -ComObject QlikTech.QlikView&lt;/P&gt;&lt;P&gt;How can I open the QlikView application as it would be running from QMC (task)?&lt;/P&gt;&lt;P&gt;Thank you for any advice&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 18:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536034#M1226736</guid>
      <dc:creator>Luis_Galvan</dc:creator>
      <dc:date>2025-11-12T18:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView: Extract Script from QVW\QVF - Automated</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536038#M1226737</link>
      <description>&lt;P&gt;I think my Script Repository tool is just about what you need:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Qlikview Cookbook: Script Repository &lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://qlikviewcookbook.com/recipes/download-info/script-repository/" target="_blank" rel="noopener"&gt;https://qlikviewcookbook.com/recipes/download-info/script-repository/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It was designed to be capable of running non-interactive, but I just tested and had to make a couple of tweaks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In the ScriptRepository_V19.qvw, open the Module and copy all the vbscript. Paste the copied script into a new file ScriptRepository.vbs.&lt;/P&gt;&lt;P&gt;2. Edit the vbs file and make the following changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;a. Function IsInternal: just force it to always false like this:&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;Function IsInternal&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;nbsp; IsInternal = false&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;End Function&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;b. In Sub ProcessDocument, comment or remove the line:&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;If IsInternal() AND (qvwFullPath = ActiveDocument.GetPathName) Then Exit Sub&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;c. In the open section around line 79, add these lines after&amp;nbsp;CONST EXTRACT_LOGFILE_NAME = "QvScriptExtract.log"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;CONST EXTRACT_LOGFILE_NAME = "QvScriptExtract.log"&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;rootInDir = WScript.Arguments(0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;rootOutdir = WScript.Arguments(1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Call MainExtractScript&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save the vbs file and now you can run from command line like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;cscript //NoLogo ScriptExtract.vbs c:\your-qvw-dir c:\script-output-dir&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Nov 2025 20:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536038#M1226737</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-11-12T20:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView: Extract Script from QVW\QVF - Automated</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536042#M1226738</link>
      <description>&lt;P&gt;I will test this out, but looks promising. Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 22:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536042#M1226738</guid>
      <dc:creator>Luis_Galvan</dc:creator>
      <dc:date>2025-11-12T22:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView: Extract Script from QVW\QVF - Automated</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536044#M1226739</link>
      <description>&lt;P&gt;You have to tweak it to look for qlikview qvf as well as qvw.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 22:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536044#M1226739</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-11-12T22:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView: Extract Script from QVW\QVF - Automated</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536046#M1226741</link>
      <description>&lt;P&gt;It is working as expected, and running in the non-interactive (non opening QV Desktop).&amp;nbsp;Added the option to allow both QVW or QVF files and worked too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 00:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Extract-Script-from-QVW-QVF-Automated/m-p/2536046#M1226741</guid>
      <dc:creator>Luis_Galvan</dc:creator>
      <dc:date>2025-11-13T00:09:57Z</dc:date>
    </item>
  </channel>
</rss>

