<?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 Export QVW layout Via Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233654#M502851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, that was exactly what I was looking for! Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lucas Blancher&lt;/P&gt;&lt;P&gt;BizXcel Inc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jul 2010 16:26:52 GMT</pubDate>
    <dc:creator>lblancher</dc:creator>
    <dc:date>2010-07-26T16:26:52Z</dc:date>
    <item>
      <title>Export QVW layout Via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233651#M502848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;Does any one know how to export a document layout via marco or external code. I would like to create an automated system for extracting script and layout from a QVW, either via scheduled task or document reload. Extracting the script via macro seams easy enough, and I have found another post on how to do it, but I don't see anything on how to do the same for the layout. Anyone have any idea on how I might accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lucas Blancher&lt;/P&gt;&lt;P&gt;BizXcel Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 14:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233651#M502848</guid>
      <dc:creator>lblancher</dc:creator>
      <dc:date>2010-07-26T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Export QVW layout Via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233652#M502849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don´t know if it is working on version 9, but you can export the layout configuration to a XML file.&lt;/P&gt;&lt;P&gt;Try to find something in the APIGuide.qvd (in documentation folder inside QlikView Directory).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 15:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233652#M502849</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2010-07-26T15:28:19Z</dc:date>
    </item>
    <item>
      <title>Export QVW layout Via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233653#M502850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently doing this. Here is an example of the code that I am using. This code will take a group of QVWs, export the document layout, and then create blank QVWs with the layout file. These have been really good for speeding up reloads.&lt;/P&gt;&lt;P&gt;Dim Qv, Doc&lt;/P&gt;&lt;P&gt;'On error Resume Next&lt;/P&gt;&lt;P&gt;'Create an instance of QlikView and open a qv document&lt;/P&gt;&lt;P&gt;FolderPath = "&amp;lt;Folder_Path&amp;gt;"&lt;BR /&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;Set objFolder = objFSO.GetFolder(FolderPath)&lt;BR /&gt;set colSubFolders = objFolder.SubFolders&lt;/P&gt;&lt;P&gt;for each fld in colSubFolders&lt;BR /&gt; Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; Set objFolder1 = objFSO.GetFolder(fld)&lt;BR /&gt; set colFiles = objFolder.Files&lt;/P&gt;&lt;P&gt;set Qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;for each doc in colFiles&lt;BR /&gt; Set SourceDoc = Qv.OpenDoc (doc,"","")&lt;BR /&gt; SourceDoc.ExportLayoutFile fld &amp;amp; "\Source\" &amp;amp; doc.Name &amp;amp; ".Layout.xml"&lt;BR /&gt; SourceDoc.CloseDoc&lt;BR /&gt; Set BlankDoc = Qv.CreateDoc&lt;BR /&gt; BlankDoc.ImportLayoutFile fld &amp;amp; "\Source\" &amp;amp; doc.Name &amp;amp; ".Layout.xml"&lt;BR /&gt; BlankDoc.SaveAs fld &amp;amp; "\Source\" &amp;amp; doc.Name&lt;BR /&gt; BlankDoc.CloseDoc&lt;BR /&gt; next&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;QV.Quit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 15:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233653#M502850</guid>
      <dc:creator />
      <dc:date>2010-07-26T15:43:43Z</dc:date>
    </item>
    <item>
      <title>Export QVW layout Via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233654#M502851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, that was exactly what I was looking for! Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lucas Blancher&lt;/P&gt;&lt;P&gt;BizXcel Inc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 16:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-QVW-layout-Via-Macro/m-p/233654#M502851</guid>
      <dc:creator>lblancher</dc:creator>
      <dc:date>2010-07-26T16:26:52Z</dc:date>
    </item>
  </channel>
</rss>

