<?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 create log file from Qlikview document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172126#M41801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macro is great and I am sure it's workign as you desire. Another good option could be to stich on the "Generate Logfile" optionunder Document Settings, and use TRACE command in your script to write anything you want in your log file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Dec 2011 01:32:41 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2011-12-25T01:32:41Z</dc:date>
    <item>
      <title>create log file from Qlikview document</title>
      <link>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172121#M41796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I hope someone can help me.&lt;/P&gt;&lt;P&gt;Due to the complexity of the data being displayed in my Qlikview document, I find that a tutorial page within my document will be necessary. I would like to work this way:&lt;/P&gt;&lt;P&gt;The first time a user access the document via IE plugin, the user has to run the tutorial before he can access the rest of the document. Once the tutorial is completed, the user can then start to view the rest of the document.&lt;/P&gt;&lt;P&gt;I don't know how to do this because it will envolve using the user access section of the document. I can reload the document every so often with Qlikview Publisher but I don't know if it is possible to create or add data to a text file from the Qlikview file every time a user completes the tutorial so that his credentials can be loaded and used by the section access on the next reload.&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 13:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172121#M41796</guid>
      <dc:creator />
      <dc:date>2011-01-17T13:47:19Z</dc:date>
    </item>
    <item>
      <title>create log file from Qlikview document</title>
      <link>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172122#M41797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought I would reply to my own post since I have now found how to do it.&lt;/P&gt;&lt;P&gt;At the end of the tutorial I have a button that the user clicks and runs a macro that will write into a text file the user windows ID. Every time the document is reloaded, the file created is loaded into the script so any users recorded in the file will not see the tutorial again.&lt;/P&gt;&lt;P&gt;Let me know if you would like to see the code for the macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 16:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172122#M41797</guid>
      <dc:creator />
      <dc:date>2011-01-17T16:13:57Z</dc:date>
    </item>
    <item>
      <title>create log file from Qlikview document</title>
      <link>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172123#M41798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brooky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the code for writing o a text-file with me please?&lt;BR /&gt;Sounds interesting.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dennis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 13:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172123#M41798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-17T13:17:27Z</dc:date>
    </item>
    <item>
      <title>create log file from Qlikview document</title>
      <link>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172124#M41799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure!&lt;/P&gt;&lt;P&gt;This code doesn't do anything too fancy. The VBA code creates a text file to store user details. If the file already exists, it will append to the bottom of it. You can then use it as an input table in your QV script. I hope it helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB WriteAccess()&lt;BR /&gt; DIM fso, MyFile, strFile, strText&lt;BR /&gt; strFile="C:\"&lt;BR /&gt; Set fso = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;&lt;BR /&gt; If fso.FileExists(strFile) Then&lt;BR /&gt; Set MyFile = fso.OpenTextFile (strFile, 8, True)&lt;BR /&gt; Else&lt;BR /&gt; Set MyFile = fso.CreateTextFile(strFile)&lt;BR /&gt; MyFile.WriteLine("Date,User")&lt;BR /&gt; End If&lt;BR /&gt;&lt;BR /&gt; strText=Now() &amp;amp; "," &amp;amp; ActiveDocument.GetLayout.AuthenticatedUser&lt;BR /&gt; MyFile.WriteLine(strText)&lt;BR /&gt; MyFile.Close&lt;BR /&gt;END SUB&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 15:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172124#M41799</guid>
      <dc:creator />
      <dc:date>2011-03-17T15:40:15Z</dc:date>
    </item>
    <item>
      <title>create log file from Qlikview document</title>
      <link>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172125#M41800</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;I am also facing similer kind of problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write VB code to open Qlikview new window but when i run below code, application get open in existing QV window.&lt;/P&gt;&lt;P&gt;Can anyone please help me on this. and is there any code to close the activate windo then please mention that also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Set Qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set docObj = Qv.OpenDoc(QvPath, 3, False)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set docObj = Qv.OpenDoc(QvPath, "", "")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set docObj = Qv.OpenDoc(qvpath, 3, False)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; docObj.Reload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Sleep 40000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; docObj.Save&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; docObj.CloseDoc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set docObj = Nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Qv = Nothing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2011 03:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172125#M41800</guid>
      <dc:creator>pkkushwaha</dc:creator>
      <dc:date>2011-12-24T03:58:33Z</dc:date>
    </item>
    <item>
      <title>create log file from Qlikview document</title>
      <link>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172126#M41801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macro is great and I am sure it's workign as you desire. Another good option could be to stich on the "Generate Logfile" optionunder Document Settings, and use TRACE command in your script to write anything you want in your log file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2011 01:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-log-file-from-Qlikview-document/m-p/172126#M41801</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2011-12-25T01:32:41Z</dc:date>
    </item>
  </channel>
</rss>

