<?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: How to import document layout in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339927#M572752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Takes a little work, but it's pretty cool.&amp;nbsp; I think it's important to note that future changes to the qvw that are saved will automatically save to the -prj directory as exported layout information.&amp;nbsp; At least this is what is happening with 11.2 SR3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 19:25:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-21T19:25:38Z</dc:date>
    <item>
      <title>How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339922#M572747</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;How can I import a document layout? &lt;/P&gt;&lt;P&gt;I'm using QV 11 SR1. &lt;/P&gt;&lt;P&gt;I opened a qvw and use menu file -&amp;gt; Export -&amp;gt; Export Document layout&lt;/P&gt;&lt;P&gt;- &amp;gt; QV created hundreds of xml files, one for each object and a few more. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I created another qvw and tried to import that layout using menu file -&amp;gt; Import Diocument layout&lt;/P&gt;&lt;P&gt;There, even if I point at the right folder, QV doesn't recognize the files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I make it list all the files ( *.*) and choose any .xml, nothing happens &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues? &lt;/P&gt;&lt;P&gt;Any help will be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, &lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 11:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339922#M572747</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-08-06T11:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339923#M572748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone? Could it be a bug? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 04:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339923#M572748</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-08-08T04:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339924#M572749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a bug, but a matter of confusing menu options between versions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV&lt;STRONG&gt;9&lt;/STRONG&gt; introduced the Export Document Layout option to export the layout to a single xml file. This function of this menu option was changed in QV10 -- more on that later. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Import Document Layout menu option in QV9/10/11 inputs a single xml file created by the QV9 Export Document Layout menu. This QV9 style file can also be created in QV10/11 with the macro API call:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ActiveDocument.ExportLayoutFile("myfile.xml")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So if QV11, that is the only way you can create an xml file that can be imported by the Import Document Layout menu option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV10/11, the Export Document Layout menu option was changed to create a set of xml files. These are the same files as created by the documentname-prj folder automatic method. So when you use the Export option in those QV10/11, the parameter is a directory name and the output is a set of xml files, one for each sheet object and document properties etc. There is no menu option in QV10/11 to import those exported files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV10/11, you use the -prj method to import a set of xml document files. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use Export Document Layout to export to a directoty named "myapp-prj"&lt;/P&gt;&lt;P&gt;2. Copy a qvw -- any qvw to the directory above the "myapp-prj" directory.&lt;/P&gt;&lt;P&gt;3. Rename the copied qvw "myapp.qvw". It must match the directory name minus the "-prj". &lt;/P&gt;&lt;P&gt;4. Open myapp.qvw and it will automatically populate from the contents of the myapp-prj directory below it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the Import Document Layout menu option only exists to load a QV9 style single xml file -- for backwards compatibility. There is no menu option to load the QV10/11 style multiple files. This multiple file style is only loaded automatically using the automatic "-prj" naming convention. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 07:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339924#M572749</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-08-08T07:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339925#M572750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&amp;nbsp; Your suggestion helped a lot. One thing where I stuck here is, the variable values are not getting imported to the new file. Can you please help on this?&amp;nbsp; Thanks in Advance. Siva Sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 13:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339925#M572750</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2012-08-24T13:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339926#M572751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The import process does not bring in the variable values. The import does not include "data" , and variable values are "data", so in my opinion this is correct behavior. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Others think the export/import should include variable values and this thread &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/235406#235406"&gt;http://community.qlik.com/message/235406#235406&lt;/A&gt;&lt;/P&gt;&lt;P&gt;says it's been accepted as a bug. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 17:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339926#M572751</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-08-24T17:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339927#M572752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Takes a little work, but it's pretty cool.&amp;nbsp; I think it's important to note that future changes to the qvw that are saved will automatically save to the -prj directory as exported layout information.&amp;nbsp; At least this is what is happening with 11.2 SR3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 19:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339927#M572752</guid>
      <dc:creator />
      <dc:date>2013-08-21T19:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339928#M572753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent trick Rob. I will immediately apply some personal projects. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 19:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339928#M572753</guid>
      <dc:creator />
      <dc:date>2014-06-27T19:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to import document layout</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339929#M572755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;I was using Qlikview 11.20 SR5 and I just created a piece of VBScript like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;SUB XXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;ActiveDocument.ExportLayoutFile("myfile.xml")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;END SUB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then I created a button with an action processing XXX and clicked it. However, it didn't seem work, and just show the VBScript again. I just want to know if there is a lack of anything.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2018 12:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-import-document-layout/m-p/339929#M572755</guid>
      <dc:creator>thomas_wang</dc:creator>
      <dc:date>2018-07-07T12:34:24Z</dc:date>
    </item>
  </channel>
</rss>

