<?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>article Generate Complex Authorization Script in QlikView for Section Access in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/ta-p/1690689</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to share with you something which I thing can be very useful.&lt;BR /&gt;&lt;BR /&gt;Few month back i work on&amp;nbsp;Complex Authorization in QlikView for very complex Row Level security. During implementation it was too difficult to create various possible combinations if we have more number of columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example see below security combination where for user &lt;STRONG&gt;TEST2&lt;/STRONG&gt;, we you want to reduce the data as per below logic i.e.&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;([Dim 1]=’A’ AND [Dim 2]=’C’) OR ([Dim 1]=’B’ AND [Dim 2]=’F’)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2020-04-03 145730.jpg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31211iD656895949AD5D47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Annotation 2020-04-03 145730.jpg" alt="Annotation 2020-04-03 145730.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In order to archived this we need to create all possible combinations into the &lt;U&gt;&lt;STRONG&gt;Security Bridge&lt;/STRONG&gt; &lt;/U&gt;table which connect Section Access table &amp;amp; Main data-set on which security need to apply.&lt;/P&gt;&lt;P&gt;But if you have too lot of fields then creating those combinations is too hard. In order to overcome this situation i have written script in QVW which generate this all combinations based on # of fields you supply in configuration.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Testtt.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31215iE731AAFEFA3923E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Testtt.jpg" alt="Testtt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;&lt;STRONG&gt;Configuration Details&lt;/STRONG&gt;, need to specify the parameters values. Once all parameters are pass then you need to &lt;STRONG&gt;Reload&lt;/STRONG&gt; the QVW, which will automatically generate script and you can copy the script from&amp;nbsp;&lt;STRONG&gt;Generated Section Access Script &lt;/STRONG&gt;section. In&amp;nbsp;&lt;STRONG&gt;Configuration Details&lt;/STRONG&gt; all parameters are required&lt;/P&gt;&lt;P&gt;After copying the script, go to &lt;FONT color="#800000"&gt;&lt;STRONG&gt;STEP 5&lt;/STRONG&gt;&lt;/FONT&gt; where you need to modify the details as per your details &amp;amp; for&amp;nbsp;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;STEP 6 &lt;/STRONG&gt;&lt;/FONT&gt;you need to enable&lt;STRONG&gt; SECTION ACCESS &amp;amp;&amp;nbsp;SECTION APPLICATION &lt;/STRONG&gt;lines.&lt;/P&gt;&lt;P&gt;If you have any doubts feel free to ask.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Akshaye&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 17:07:35 GMT</pubDate>
    <dc:creator>akshaye_c_navale</dc:creator>
    <dc:date>2022-09-21T17:07:35Z</dc:date>
    <item>
      <title>Generate Complex Authorization Script in QlikView for Section Access</title>
      <link>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/ta-p/1690689</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to share with you something which I thing can be very useful.&lt;BR /&gt;&lt;BR /&gt;Few month back i work on&amp;nbsp;Complex Authorization in QlikView for very complex Row Level security. During implementation it was too difficult to create various possible combinations if we have more number of columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example see below security combination where for user &lt;STRONG&gt;TEST2&lt;/STRONG&gt;, we you want to reduce the data as per below logic i.e.&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;([Dim 1]=’A’ AND [Dim 2]=’C’) OR ([Dim 1]=’B’ AND [Dim 2]=’F’)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2020-04-03 145730.jpg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31211iD656895949AD5D47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Annotation 2020-04-03 145730.jpg" alt="Annotation 2020-04-03 145730.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In order to archived this we need to create all possible combinations into the &lt;U&gt;&lt;STRONG&gt;Security Bridge&lt;/STRONG&gt; &lt;/U&gt;table which connect Section Access table &amp;amp; Main data-set on which security need to apply.&lt;/P&gt;&lt;P&gt;But if you have too lot of fields then creating those combinations is too hard. In order to overcome this situation i have written script in QVW which generate this all combinations based on # of fields you supply in configuration.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Testtt.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31215iE731AAFEFA3923E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Testtt.jpg" alt="Testtt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;&lt;STRONG&gt;Configuration Details&lt;/STRONG&gt;, need to specify the parameters values. Once all parameters are pass then you need to &lt;STRONG&gt;Reload&lt;/STRONG&gt; the QVW, which will automatically generate script and you can copy the script from&amp;nbsp;&lt;STRONG&gt;Generated Section Access Script &lt;/STRONG&gt;section. In&amp;nbsp;&lt;STRONG&gt;Configuration Details&lt;/STRONG&gt; all parameters are required&lt;/P&gt;&lt;P&gt;After copying the script, go to &lt;FONT color="#800000"&gt;&lt;STRONG&gt;STEP 5&lt;/STRONG&gt;&lt;/FONT&gt; where you need to modify the details as per your details &amp;amp; for&amp;nbsp;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;STEP 6 &lt;/STRONG&gt;&lt;/FONT&gt;you need to enable&lt;STRONG&gt; SECTION ACCESS &amp;amp;&amp;nbsp;SECTION APPLICATION &lt;/STRONG&gt;lines.&lt;/P&gt;&lt;P&gt;If you have any doubts feel free to ask.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Akshaye&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 17:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/ta-p/1690689</guid>
      <dc:creator>akshaye_c_navale</dc:creator>
      <dc:date>2022-09-21T17:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Complex Authorization Script in QlikView for Section Access</title>
      <link>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1690844#M456</link>
      <description>&lt;P&gt;I like it!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 16:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1690844#M456</guid>
      <dc:creator>francescopuppin</dc:creator>
      <dc:date>2020-04-03T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Complex Authorization Script in QlikView for Section Access</title>
      <link>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1734145#M457</link>
      <description>&lt;P&gt;Can you share your file&amp;nbsp;C:\Akshay Work Place\Data Consumer Document\4_QVD\Transactions.qvd" ??&lt;/P&gt;&lt;P&gt;Gab&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 14:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1734145#M457</guid>
      <dc:creator>nboccassini</dc:creator>
      <dc:date>2020-08-07T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Complex Authorization Script in QlikView for Section Access</title>
      <link>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1734165#M458</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41228"&gt;@nboccassini&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Tool don't require physical QVD file for creating script of various combinations. In tool you just need to configure the variable in configuration section.&amp;nbsp;You can use your QVD file path and update above path with your QVD file path.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshaye&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 16:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1734165#M458</guid>
      <dc:creator>akshaye_c_navale</dc:creator>
      <dc:date>2020-08-07T16:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Complex Authorization Script in QlikView for Section Access</title>
      <link>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1866763#M459</link>
      <description>&lt;P&gt;Where are we passing parameter values? I mean where we have&amp;nbsp;&lt;STRONG&gt;Configuration Details?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Where we have&amp;nbsp;v_Section_Access_CSV_Headers?&lt;/P&gt;
&lt;P&gt;Also I can see below&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SET vScript = '// STEP 1 - Create combine data key in table on which section access needs to apply&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[MainDataSetForSectionAccess]:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;, UPPER(''|'' &amp;amp; $(SourceColumnKey) &amp;amp; ''|'' ) AS [SECTIONACCESS_DATA_KEY]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RESIDENT [$(v_Resident_Table_Name)];&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DROP TABLE [$(v_Resident_Table_Name)];&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Do we need to remove comments? As I don't see $(vScript) used anywhere..&lt;/P&gt;
&lt;P&gt;Sorry but little confusing here.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 15:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/1866763#M459</guid>
      <dc:creator>trpatel123</dc:creator>
      <dc:date>2021-12-04T15:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Complex Authorization Script in QlikView for Section Access</title>
      <link>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/2507382#M2248</link>
      <description>&lt;P&gt;Anyone success with something like this in Qlik Sense?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 12:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Generate-Complex-Authorization-Script-in-QlikView-for-Section/tac-p/2507382#M2248</guid>
      <dc:creator>MarcellSzeles</dc:creator>
      <dc:date>2025-02-26T12:48:41Z</dc:date>
    </item>
  </channel>
</rss>

