<?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 Reload Section Access on startup in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-Section-Access-on-startup/m-p/528591#M197570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community!&lt;BR /&gt;Im having problem with section access and row exclusion.&lt;/P&gt;&lt;P&gt;Basically I want Qlik to reload my section access from *.qvd on every startup.&lt;/P&gt;&lt;P&gt;script in my hidden tab looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Section Access;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SUB ReloadAccess&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; ACCESS_PRIVILEGE AS ACCESS,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; NTNAME&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; FROM security.qvd (qvd) where 1=1;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ENDSUB&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Section Application;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SUB ReloadAuthorization&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; NTNAME,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; CLIENT_ALLOWED AS CLIENT&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; FROM security.qvd (qvd) where 1=1;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ENDSUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I registered this two SUBs&amp;nbsp; in triggers tab, OnOpen action but its not working...&lt;/P&gt;&lt;P&gt;I have also selected &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Data Reduction Based on Section Access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I manually run the script It reloads data !but it won't make any Data Reduction! So as user with defined right to see only particular CLIENT data, I can see all clients until I reopen document. Than Its OK. why is it so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do do make qlik reload Section Access and actually Section Application data on every startup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for ideas!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 12:48:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-17T12:48:35Z</dc:date>
    <item>
      <title>Reload Section Access on startup</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Section-Access-on-startup/m-p/528591#M197570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community!&lt;BR /&gt;Im having problem with section access and row exclusion.&lt;/P&gt;&lt;P&gt;Basically I want Qlik to reload my section access from *.qvd on every startup.&lt;/P&gt;&lt;P&gt;script in my hidden tab looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Section Access;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SUB ReloadAccess&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; ACCESS_PRIVILEGE AS ACCESS,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; NTNAME&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; FROM security.qvd (qvd) where 1=1;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ENDSUB&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Section Application;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SUB ReloadAuthorization&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; NTNAME,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; CLIENT_ALLOWED AS CLIENT&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; FROM security.qvd (qvd) where 1=1;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ENDSUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I registered this two SUBs&amp;nbsp; in triggers tab, OnOpen action but its not working...&lt;/P&gt;&lt;P&gt;I have also selected &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Data Reduction Based on Section Access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I manually run the script It reloads data !but it won't make any Data Reduction! So as user with defined right to see only particular CLIENT data, I can see all clients until I reopen document. Than Its OK. why is it so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do do make qlik reload Section Access and actually Section Application data on every startup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for ideas!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 12:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Section-Access-on-startup/m-p/528591#M197570</guid>
      <dc:creator />
      <dc:date>2014-01-17T12:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Section Access on startup</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Section-Access-on-startup/m-p/528592#M197571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The subroutines in the script are &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/SPAN&gt; VB Subroutines and cannot be called by a trigger. In fact, there is no way that you can trigger a script run when you open a document if the document is on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, when you run the script locally it should &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/SPAN&gt; make any data reduction. There would be no purpose in doing so: If the user has the right to pull this data from the DB, then &lt;EM&gt;he has the right to see the data&lt;/EM&gt;. Reducing the data at this stage would have no security implications whatsoever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why do you need to run the script at OnOpen? Isn't it enough to use the "normal" data reduction that takes place when you open a document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 13:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Section-Access-on-startup/m-p/528592#M197571</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-01-17T13:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Section Access on startup</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Section-Access-on-startup/m-p/528593#M197572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;allright I was just in panic, thanks for clarification &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 15:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Section-Access-on-startup/m-p/528593#M197572</guid>
      <dc:creator />
      <dc:date>2014-01-17T15:09:09Z</dc:date>
    </item>
  </channel>
</rss>

