<?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: Reduction field in section access in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1825858#M1213966</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thank you for your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've read your reply and the documentation you suggested and I've changed my script as:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PASSWORD, ID, ACCESSORDERTYPE&lt;BR /&gt;ADMIN, ADMIN, xxx, 0,&lt;BR /&gt;ADMIN, BOB, yyy, 1,&lt;BR /&gt;&lt;SPAN&gt;ADMIN, JOHN, aaa, 1,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;USER, MIKE, hhh, 2, S&lt;BR /&gt;USER, MIKE, hhh, 2, T&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;USER, LAURA, ttt, 2, *&lt;BR /&gt;&lt;/SPAN&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;AccessGroups:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, GROUP&lt;BR /&gt;0, ADMINISTRATORS&lt;BR /&gt;1, PRODUCTION&lt;BR /&gt;2, FABRIC&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results are:&lt;BR /&gt;- the ADMIN users account log in and see all the order types, as I wish&lt;BR /&gt;- MIKE user logs in, but he can see only the 'S' order types (not also the 'T' as I wish)&lt;BR /&gt;- LAURA user&amp;nbsp;logs in, but he can see only the 'S' order types (not ALL the order types as I wish) &amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls. note that LAURA behavior is what I expected since I've read in the documentation that the "*" grants all the reduction listed in section access, but I'd like her to be allowed to all the order types (from 'A' to 'Z')&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
    <pubDate>Sat, 31 Jul 2021 07:38:09 GMT</pubDate>
    <dc:creator>NickP_DF</dc:creator>
    <dc:date>2021-07-31T07:38:09Z</dc:date>
    <item>
      <title>Reduction field in section access</title>
      <link>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1825815#M1213952</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'd like that a user shouldn't be able to see the S or T order types (the other users must see everything), so that I create a section access like that:&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PASSWORD, ID, ACCESSORDERTYPE&lt;BR /&gt;ADMIN, ADMIN, xxx, 0,&lt;BR /&gt;ADMIN, BOB, yyy, 1,&lt;BR /&gt;&lt;SPAN&gt;ADMIN, JOHN, aaa, 1&lt;BR /&gt;&lt;/SPAN&gt;USER, MIKE, hhh, 2, S&lt;BR /&gt;&lt;SPAN&gt;USER, PAUL, zzz, 2,&lt;BR /&gt;USER, LAURA, ttt, 2&lt;BR /&gt;&lt;/SPAN&gt;];&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;AccessGroups:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, GROUP&lt;BR /&gt;0, ADMINISTRATORS&lt;BR /&gt;1, PRODUCTION&lt;BR /&gt;2, FABRIC&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;In this way, it works properly for the users ADMIN, BOB, JOHN (who see everything), the user MIKE sees only "S" order type and the users PAUL and LAURA get the error "The document...failed to load"&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Besides that, If I add a line to above the MIKE user to avoid him to see the S and the T order types:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;USER, MIKE, hhh, 2, S&lt;BR /&gt;USER, MIKE, hhh, 2, T&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works properly for the users ADMIN, BOB, JOHN (who see everything, like in the previous version), and the users MIKE, PAUL and LAURA get the error "The document...failed to load."&lt;/P&gt;&lt;P&gt;What's wrong with my script?&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 16:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1825815#M1213952</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2021-07-30T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reduction field in section access</title>
      <link>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1825821#M1213955</link>
      <description>&lt;P&gt;For starters, your script doesn't actually give PAUL and LAURA any permissions because you left ACCESSORDERTYPE null. You should be using * for "Everything" (excluding nulls, but you should generally avoid the use of section access on fields with nulls), which may also require a * is star statement.&lt;/P&gt;&lt;P&gt;Since you are using multiple fields for your section access, it'd be best to start with this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Basics-for-complex-authorization/ba-p/1465872" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Basics-for-complex-authorization/ba-p/1465872&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 18:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1825821#M1213955</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-07-30T18:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reduction field in section access</title>
      <link>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1825858#M1213966</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thank you for your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've read your reply and the documentation you suggested and I've changed my script as:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PASSWORD, ID, ACCESSORDERTYPE&lt;BR /&gt;ADMIN, ADMIN, xxx, 0,&lt;BR /&gt;ADMIN, BOB, yyy, 1,&lt;BR /&gt;&lt;SPAN&gt;ADMIN, JOHN, aaa, 1,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;USER, MIKE, hhh, 2, S&lt;BR /&gt;USER, MIKE, hhh, 2, T&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;USER, LAURA, ttt, 2, *&lt;BR /&gt;&lt;/SPAN&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;AccessGroups:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, GROUP&lt;BR /&gt;0, ADMINISTRATORS&lt;BR /&gt;1, PRODUCTION&lt;BR /&gt;2, FABRIC&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results are:&lt;BR /&gt;- the ADMIN users account log in and see all the order types, as I wish&lt;BR /&gt;- MIKE user logs in, but he can see only the 'S' order types (not also the 'T' as I wish)&lt;BR /&gt;- LAURA user&amp;nbsp;logs in, but he can see only the 'S' order types (not ALL the order types as I wish) &amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls. note that LAURA behavior is what I expected since I've read in the documentation that the "*" grants all the reduction listed in section access, but I'd like her to be allowed to all the order types (from 'A' to 'Z')&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 07:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1825858#M1213966</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2021-07-31T07:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reduction field in section access</title>
      <link>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1826466#M1214018</link>
      <description>&lt;P&gt;....So I've made a step ahead and now I'm able to allow multiple values to MIKE&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PASSWORD, ID, TIPOORDINELIM&lt;BR /&gt;&lt;SPAN&gt;ADMIN, ADMIN, xxx, 0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ADMIN, BOB, yyy, 1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ADMIN, JOHN, aaa, 1&lt;/SPAN&gt;&lt;BR /&gt;USER, &lt;SPAN&gt;MIKE, hhh,&lt;/SPAN&gt;&amp;nbsp;2, LIMITATO&lt;BR /&gt;USER, LAURA, ttt, 2, ALL&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Section Application;&lt;/P&gt;&lt;P&gt;AccessGroups:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, GRUPPO&lt;BR /&gt;0, &lt;SPAN&gt;ADMINISTRATORS&lt;/SPAN&gt;&lt;BR /&gt;1, &lt;SPAN&gt;PRODUCTION&lt;/SPAN&gt;&lt;BR /&gt;2, &lt;SPAN&gt;FABRIC&lt;/SPAN&gt;&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OrderTypeLimitations:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;TIPOORDINELIM, TipoOrdVendita&lt;BR /&gt;LIMITATO, S&lt;BR /&gt;LIMITATO, T&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The results are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the ADMIN users account log in and see all the order types, as I wish&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- MIKE user logs in, and he can see only the 'S' and the 'T' order types, as I wish&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm not able to allow LAURA to see &lt;SPAN&gt;ALL the order types as I wish: I wouldn't like to list in the&amp;nbsp;OrderTypeLimitations table all the rows:&lt;BR /&gt;&lt;/SPAN&gt;ALL, A&lt;BR /&gt;ALL, B&lt;BR /&gt;ALL, C&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ALL, Z&lt;/P&gt;&lt;P&gt;because if they'll implement a new Order Type in the future (such as '$', for example), LAURA won't be able to see it without my intervention in the section access code).&lt;/P&gt;&lt;P&gt;Thank for the help.&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 19:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1826466#M1214018</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2021-08-03T19:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reduction field in section access</title>
      <link>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1833481#M1214740</link>
      <description>&lt;P&gt;Yes, it is possible. One way to do it is along the following lines:&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PASSWORD, ID, TIPOORDINELIM&lt;BR /&gt;ADMIN, ADMIN, xxx, 0, &amp;lt;ALL&amp;gt;&lt;BR /&gt;ADMIN, BOB, yyy, 1, &amp;lt;ALL&amp;gt;&lt;BR /&gt;ADMIN, JOHN, aaa, 1, &amp;lt;ALL&amp;gt;&lt;BR /&gt;USER, MIKE, hhh, 2, LIMITATO&lt;BR /&gt;USER, LAURA, ttt, 2, &amp;lt;ALL&amp;gt;&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Section Application;&lt;BR /&gt;OrderTypeLimitations:&lt;BR /&gt;Load distinct&lt;BR /&gt;'&amp;lt;ALL&amp;gt;' as TIPOORDINELIM,&lt;BR /&gt;TipoOrdVendita&lt;BR /&gt;Resident OrderLineTable;&lt;/P&gt;&lt;P&gt;Concatenate (OrderTypeLimitations)&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;TIPOORDINELIM, TipoOrdVendita&lt;BR /&gt;LIMITATO, S&lt;BR /&gt;LIMITATO, T&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This assumes that all values of "TipoOrdVendita" exist in the "OrderLineTable".&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 07:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1833481#M1214740</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2021-09-03T07:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reduction field in section access</title>
      <link>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1835271#M1214850</link>
      <description>&lt;P&gt;Thank you Henric for your solution!&lt;/P&gt;&lt;P&gt;N.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 17:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reduction-field-in-section-access/m-p/1835271#M1214850</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2021-09-10T17:19:15Z</dc:date>
    </item>
  </channel>
</rss>

