<?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 Log QV Usage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943860#M325246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to log how often a qv application is opened.&amp;nbsp; Every time the app is opened I want to write to a log file the user and date/time. My approach is to set a trigger on the document.&amp;nbsp; When opened I run a macro, but it doesn't write to the file.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sub LogOpen&lt;/P&gt;&lt;P&gt;Const ForAppending = 8&lt;/P&gt;&lt;P&gt;Set objFSO = CreateObject ("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;Set objTextFile = objFSO.OpenTextFile _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("C:\Users\frank\Documents\QVopenlog.txt", ForAppending, True)&lt;/P&gt;&lt;P&gt;objTextFile.WriteLine ("QVuser" )&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 16:09:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-19T16:09:47Z</dc:date>
    <item>
      <title>Log QV Usage</title>
      <link>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943860#M325246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to log how often a qv application is opened.&amp;nbsp; Every time the app is opened I want to write to a log file the user and date/time. My approach is to set a trigger on the document.&amp;nbsp; When opened I run a macro, but it doesn't write to the file.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sub LogOpen&lt;/P&gt;&lt;P&gt;Const ForAppending = 8&lt;/P&gt;&lt;P&gt;Set objFSO = CreateObject ("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;Set objTextFile = objFSO.OpenTextFile _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("C:\Users\frank\Documents\QVopenlog.txt", ForAppending, True)&lt;/P&gt;&lt;P&gt;objTextFile.WriteLine ("QVuser" )&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943860#M325246</guid>
      <dc:creator />
      <dc:date>2015-11-19T16:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Log QV Usage</title>
      <link>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943861#M325247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, are you trying to do this on the desktop client or server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to track server access, there are better options, using the server logs (and there are already existing applications to evaluate the logs).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943861#M325247</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-19T16:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Log QV Usage</title>
      <link>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943862#M325248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are writing in QV Desktop, it is working perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to provide "System Access" &amp;amp; "Allow System Access" in Edit Module window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option is available in Requested Module security&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943862#M325248</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2015-11-19T16:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Log QV Usage</title>
      <link>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943863#M325249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Providing&amp;nbsp; "System Access" &amp;amp; "Allow System Access" allowed the record to be written.&amp;nbsp; However, the literal "QVuser" was written and not the username that opened the application.&amp;nbsp; Also, how do I get the date written?&amp;nbsp; thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943863#M325249</guid>
      <dc:creator />
      <dc:date>2015-11-19T16:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Log QV Usage</title>
      <link>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943864#M325250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Desktop client&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 18:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Log-QV-Usage/m-p/943864#M325250</guid>
      <dc:creator />
      <dc:date>2015-11-19T18:29:54Z</dc:date>
    </item>
  </channel>
</rss>

