<?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 how to programmaticaly edit the script which describes loading data process in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153812#M30686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find in API quide how to programmaticaly edit the script which describes loading data process (the script which is a part of qvw file).&lt;BR /&gt;How can it be done? I'm new in QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jan 2011 21:58:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-04T21:58:09Z</dc:date>
    <item>
      <title>how to programmaticaly edit the script which describes loading data process</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153812#M30686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find in API quide how to programmaticaly edit the script which describes loading data process (the script which is a part of qvw file).&lt;BR /&gt;How can it be done? I'm new in QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 21:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153812#M30686</guid>
      <dc:creator />
      <dc:date>2011-01-04T21:58:09Z</dc:date>
    </item>
    <item>
      <title>how to programmaticaly edit the script which describes loading data process</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153813#M30687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I must say, - this is not exactly a task for a new developer...&lt;/P&gt;&lt;P&gt;However, if you have to programmatically edit the script, you can approach it in 2 ways:&lt;/P&gt;&lt;P&gt;1. Using $-sign expansions. You can build portions of your script within a variable, and then have them executed using $(var) syntax. For example:&lt;/P&gt;&lt;P&gt;LET vScriptPart = 'LOAD A,B,C RESIDENT MyTable;' ;&lt;/P&gt;&lt;P&gt;$(vScriptPart)&lt;/P&gt;&lt;P&gt;The first line assigns the string to the variable, and the second part executes the statement by substituting the variable name by the string.&lt;/P&gt;&lt;P&gt;2. Using macros and QlikView API. The method for accessing the Script is called doc.Script. Here is an example from the API Guide:&lt;/P&gt;&lt;P&gt;rem ** add new line to script **&lt;BR /&gt;set docprop = ActiveDocument.GetProperties&lt;BR /&gt;docprop.Script = docprop.Script &amp;amp; "Load * from abc.csv;"&lt;BR /&gt;ActiveDocument.SetProperties docprop&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 22:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153813#M30687</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-01-04T22:10:55Z</dc:date>
    </item>
    <item>
      <title>how to programmaticaly edit the script which describes loading data process</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153814#M30688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 10:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153814#M30688</guid>
      <dc:creator />
      <dc:date>2011-01-05T10:42:29Z</dc:date>
    </item>
    <item>
      <title>how to programmaticaly edit the script which describes loading data process</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153815#M30689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now I try to programmaticaly create tablebox, add some fields to it and reload data using some script.&lt;/P&gt;&lt;P&gt;unfortunately it does not work. it seems that creating table box and adding fields is not enough.&lt;/P&gt;&lt;P&gt;details in http://community.qlik.com/forums/t/39110.aspx. I would be grateful if you looked at this post...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 10:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-programmaticaly-edit-the-script-which-describes-loading/m-p/153815#M30689</guid>
      <dc:creator />
      <dc:date>2011-01-10T10:26:34Z</dc:date>
    </item>
  </channel>
</rss>

