<?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 import variables from another document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/import-variables-from-another-document/m-p/283477#M105357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Attached is a macro that exports variables and their values or expressions to a text file&lt;/P&gt;&lt;P&gt;Is there a way to import these variables and their expressions to a new qvw document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2012 15:29:41 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2012-01-17T15:29:41Z</dc:date>
    <item>
      <title>import variables from another document</title>
      <link>https://community.qlik.com/t5/QlikView/import-variables-from-another-document/m-p/283477#M105357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Attached is a macro that exports variables and their values or expressions to a text file&lt;/P&gt;&lt;P&gt;Is there a way to import these variables and their expressions to a new qvw document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 15:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/import-variables-from-another-document/m-p/283477#M105357</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-01-17T15:29:41Z</dc:date>
    </item>
    <item>
      <title>import variables from another document</title>
      <link>https://community.qlik.com/t5/QlikView/import-variables-from-another-document/m-p/283478#M105358</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;1. adjust your macro from:&lt;/P&gt;&lt;P&gt;txsStream.WriteLine v.Name&amp;nbsp; &amp;amp; chr(9) &amp;amp; v.RawValue&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;txsStream.WriteLine "set " &amp;amp; v.Name &amp;amp; " = '" &amp;amp; v.RawValue &amp;amp; "';"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. copy the content of the generated text file to the script section of your new QVW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. reload the document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you go, the variables will be created in your new document. Maybe you'll need to do some adjustments if your variables have complex expressions with single and double quotation marks, this can confuse QV when you put it in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(it is quite simple, I hope I understood right your requirement.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 00:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/import-variables-from-another-document/m-p/283478#M105358</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-01-24T00:57:48Z</dc:date>
    </item>
  </channel>
</rss>

