<?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: Refreshing QV Model via script Requsts User ID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805361#M1032160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might need a domain qualifier on the NTNAME, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;domainname&lt;/EM&gt;\ERP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 09:51:20 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-02-02T09:51:20Z</dc:date>
    <item>
      <title>Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805356#M1032155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have been auto-refreshing several Qlikview models via a script for several years and have recently updated one of the models with Section Access security.&amp;nbsp;&amp;nbsp; The security is all working fine when the model is manually refreshed, however it is requesting a user ID when the refresh is run via a script.&amp;nbsp; From what I can see, we have the correct command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files\Qlikview\qv.exe /r /NoSecurity z:Dashboard.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this is run,&amp;nbsp; a message is displayed: "Please enter your User ID" and the process fails unless this is input.&amp;nbsp;&amp;nbsp; Am I missing something on the command line??&amp;nbsp;&amp;nbsp; I have also tried this with /l instead of /r.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 06:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805356#M1032155</guid>
      <dc:creator />
      <dc:date>2015-02-02T06:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805357#M1032156</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;Have you applied section access using NTNAME? If so, make sure that the account used by the scheduler task is included in the section access table. /NoSecurity is not a section access override, in case you were thinking that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I you are using USERID instead of NTNAME, then I don't think you can invoke a /r reload from the command line. You could open and reload the document using an external vbscript executed from your batch job using cscript, but this is less efficient than /r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 06:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805357#M1032156</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-02T06:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805358#M1032157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response ... yes, we are using the USERID method for the Section Access, and I was not aware of an issue with this.&amp;nbsp;&amp;nbsp; Be good to see if there are any helpful suggestions to counter this ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 07:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805358#M1032157</guid>
      <dc:creator />
      <dc:date>2015-02-02T07:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805359#M1032158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add an NTNAME column to Section Access. Add a line to the SA table with&amp;nbsp; a * in the USERID column and the accountname of the user that is running the scheduled task in column NTNAME. Make sure that this account has role ADMIN.&lt;/P&gt;&lt;P&gt;For all USERID lines, put a * in the NTNAME column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 08:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805359#M1032158</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-02-02T08:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805360#M1032159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried doing this, but still get the same result.&amp;nbsp; Here is the syntax I am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Section&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; ACCESS, USERID, PASSWORD, NTNAME, ACCESS_LEVEL&lt;BR /&gt; ADMIN , *, *, ERP, * &lt;BR /&gt; ADMIN, ADMIN, ADMIN999, *, * &lt;BR /&gt; USER, BOBM, 1241, *, *&lt;BR /&gt; USER, JOHNB, 5745, *, *&lt;BR /&gt; USER, TOMMYK, 4171, *, MF&lt;BR /&gt; USER, TOMMYK, 4171, *, CS&lt;BR /&gt; USER, TOMMYK, 4171, *, GR&lt;BR /&gt; USER, JOHNZ, 9547, *, SE&lt;BR /&gt; USER, JOHNZ, 9547, *, SF&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Section&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Application&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Branch_Access, ACCESS_LEVEL&lt;BR /&gt; "MF", MF&lt;BR /&gt; "CS", CS&lt;BR /&gt; "GR", GR&lt;BR /&gt; "SE", SE&lt;BR /&gt; "SF", SF&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 09:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805360#M1032159</guid>
      <dc:creator />
      <dc:date>2015-02-02T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805361#M1032160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might need a domain qualifier on the NTNAME, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;domainname&lt;/EM&gt;\ERP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 09:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805361#M1032160</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-02T09:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805362#M1032161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;You might need a domain qualifier on the NTNAME, something like:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;domainname&lt;/EM&gt;\ERP&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I did try this (I removed the Domain Name from the example I provided above).&amp;nbsp;&amp;nbsp; The syntax used is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;ADMIN , *, *, BBSDOMAIN\ERP, * &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;This is still not working ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 08:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805362#M1032161</guid>
      <dc:creator />
      <dc:date>2015-02-03T08:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing QV Model via script Requsts User ID</title>
      <link>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805363#M1032162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure the script reload is being performed as user BBSDOMAIN\ERP? Does it work if you logon as BBSDOMAIN\ERP and execute the script manually? What kind of script are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 09:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refreshing-QV-Model-via-script-Requsts-User-ID/m-p/805363#M1032162</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-02-03T09:01:08Z</dc:date>
    </item>
  </channel>
</rss>

