<?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: Writing &amp;quot;Hello World&amp;quot; to a text file from the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249980#M94949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mathew thsi tip helped me out&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2014 06:25:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-09T06:25:56Z</dc:date>
    <item>
      <title>Writing "Hello World" to a text file from the script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249977#M94946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My end goal is to write a text file in a certain format upon reload of a QVW.&amp;nbsp; The text file must use data gathered upon the reload in this text write out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a simplified example, I'd like a text file that says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello World.&lt;/P&gt;&lt;P&gt;Field: Field1Name, Row: 1, Value=5 [that 5 was gathered upon reload]&lt;/P&gt;&lt;P&gt;Goodbye World.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been looking through the help and the forums and see no way to directly write to a text file from the script.&amp;nbsp; I understand that you can use a store command and store a table in a text file, but that is not what I'm looking for.&amp;nbsp; As step 1, I was wondering if anyone knows how to just write "Hello World" to a text file within the Qlikview script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that many people are using an Upon Post-Reload macro to write specific info to text files.&amp;nbsp; Is that the only way?&amp;nbsp; That would make my task more difficult because then I would have to get information from one of my tables in the data model loaded into my macro so that I could use it to help write my text file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts are appreciated! Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 15:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249977#M94946</guid>
      <dc:creator />
      <dc:date>2011-08-04T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Writing "Hello World" to a text file from the script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249978#M94947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the following to do what you're requesting: &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conf:&lt;/P&gt;&lt;P&gt;Load 'Reload Completed: '&amp;amp;now() as Confirmation&lt;/P&gt;&lt;P&gt;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Conf Into &lt;A&gt;\\usavm090\Logs\QV_Triggers\CONV_Conf.txt&lt;/A&gt; (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Conf;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you can add expressions etc into the table to give more information, in my case the text file is created so a monitoring tool can spot the files creation and trigger a further event.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 15:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249978#M94947</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-08-04T15:59:30Z</dc:date>
    </item>
    <item>
      <title>Writing "Hello World" to a text file from the script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249979#M94948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your answer fixed my problem.&amp;nbsp; Turns out in my testing I did not add the (txt) at the end of the store statement which was putting myoutput in xml format.&amp;nbsp; This will get me going.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 16:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249979#M94948</guid>
      <dc:creator />
      <dc:date>2011-08-04T16:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Writing "Hello World" to a text file from the script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249980#M94949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mathew thsi tip helped me out&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 06:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249980#M94949</guid>
      <dc:creator />
      <dc:date>2014-06-09T06:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Writing "Hello World" to a text file from the script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249981#M94950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;is any way to do this using a macro. i donot want to reload my app&lt;/P&gt;&lt;P&gt;tnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 12:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249981#M94950</guid>
      <dc:creator />
      <dc:date>2014-06-17T12:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Writing "Hello World" to a text file from the script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249982#M94951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; With normal API's its not possible as per my knowledge, but document can be reload &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;using below code&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sub Reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ActiveDocument.Reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ActiveDocument.Save&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 06:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/249982#M94951</guid>
      <dc:creator />
      <dc:date>2014-06-18T06:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Writing "Hello World" to a text file from the script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/1602504#M444443</link>
      <description>&lt;P&gt;Excellent!!!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 22:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-quot-Hello-World-quot-to-a-text-file-from-the-script/m-p/1602504#M444443</guid>
      <dc:creator>maykerreyes</dc:creator>
      <dc:date>2019-07-15T22:26:12Z</dc:date>
    </item>
  </channel>
</rss>

