<?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: Section Access Dynamically from excel in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013016#M31557</link>
    <description>&lt;P&gt;Of course you can. And you should. The script is the wrong place for an authorization table. Excel or a real database is better.&lt;/P&gt;&lt;P&gt;But you still need ACCESS and USERID, but now in the Excel table. E.g.&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;ACCESS,&lt;BR /&gt;USERID,&lt;BR /&gt;&amp;lt;otherfields&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;FROM&amp;nbsp;&lt;/SPAN&gt;[....xlsx]&amp;nbsp;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 08:42:06 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2022-12-06T08:42:06Z</dc:date>
    <item>
      <title>Section Access Dynamically from excel</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013011#M31556</link>
      <description>&lt;P&gt;Hello Qlikers,&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Can Row level security be achived Dynamically ? &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;as for the user to change it from excel , not hard coded in qlik sense using the &lt;/P&gt;
&lt;P&gt;ACCESS and USERID table.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;at least to make it in excel so the user can change it in excel not in Qlik sense backend.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 16:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013011#M31556</guid>
      <dc:creator>Saif1</dc:creator>
      <dc:date>2025-01-29T16:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Dynamically from excel</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013016#M31557</link>
      <description>&lt;P&gt;Of course you can. And you should. The script is the wrong place for an authorization table. Excel or a real database is better.&lt;/P&gt;&lt;P&gt;But you still need ACCESS and USERID, but now in the Excel table. E.g.&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;ACCESS,&lt;BR /&gt;USERID,&lt;BR /&gt;&amp;lt;otherfields&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;FROM&amp;nbsp;&lt;/SPAN&gt;[....xlsx]&amp;nbsp;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 08:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013016#M31557</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-12-06T08:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Dynamically from excel</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013635#M31558</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp; Hello Hic ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you help me with something,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried to put the section access table in excel and read from the excel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but when i try with a user A it gives me ACCESS DENIED when trying in excel, but when doing it in the backend (hard code it in Qlik script) it works, so what am i doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 254pt;" width="339"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="width: 48pt; height: 15.0pt;"&gt;ACCESS&lt;/TD&gt;
&lt;TD width="160" style="width: 120pt;"&gt;USERID&lt;/TD&gt;
&lt;TD width="115" style="width: 86pt;"&gt;DEPT_ID&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;ADMIN&lt;/TD&gt;
&lt;TD&gt;domain\SCHEDULAR_SA&lt;/TD&gt;
&lt;TD&gt;*&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;ADMIN&lt;/TD&gt;
&lt;TD&gt;domain\QLIK ADMIN&lt;/TD&gt;
&lt;TD&gt;*&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;USER&lt;/TD&gt;
&lt;TD&gt;domain\A&lt;/TD&gt;
&lt;TD&gt;*&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;USER&lt;/TD&gt;
&lt;TD&gt;domain\B&lt;/TD&gt;
&lt;TD align="right"&gt;123&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is a demo table in excel ( i doubled checked everything is in UPPER case )&lt;/P&gt;
&lt;P&gt;the script :&lt;/P&gt;
&lt;P&gt;ACCESS:&lt;/P&gt;
&lt;P&gt;load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UPPER("ACCESS") as ACCESS,&lt;/P&gt;
&lt;P&gt;UPPER("USERID") as USERID,&lt;/P&gt;
&lt;P&gt;UPPER(DEPT_ID) as DEPT_ID&lt;/P&gt;
&lt;P&gt;from excel etc etc .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so what is wrong ? , why it gives access denied in when importing from excel, and when from backend (script) it works?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 10:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013635#M31558</guid>
      <dc:creator>Saif1</dc:creator>
      <dc:date>2022-12-07T10:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Dynamically from excel</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013750#M31559</link>
      <description>&lt;P&gt;Yes, you cannot use wildcards like that. The * will only refer to other DEPT_ID in the same table. And not to departments not listed in Section Access.&lt;/P&gt;&lt;P&gt;You could try something along the following:&lt;/P&gt;&lt;P&gt;AuthorizationTable:&lt;BR /&gt;Load distinct 'ADMIN' as ACCESS, 'domain\DUMMY' as USERID, UPPER(DEPT_ID) as DEPT_ID Resident Departments;&lt;BR /&gt;Concatenate&lt;BR /&gt;Load UPPER("ACCESS") as ACCESS, UPPER("USERID") as USERID, UPPER(DEPT_ID) as DEPT_ID From Excel ... ;&lt;/P&gt;&lt;P&gt;or use '&amp;lt;ALL&amp;gt;' instead of '*' in the Excel table, and then the following script:&lt;/P&gt;&lt;P&gt;AllDepartments:&lt;BR /&gt;Load Concat(DEPT_ID,'|') as AllDepartments Resident Departments;&lt;BR /&gt;Let vAllDepartments = Peek(AllDepartments,-1,AllDepartments);&lt;BR /&gt;&lt;BR /&gt;AuthorizationTable:&lt;BR /&gt;Load UPPER("ACCESS") as ACCESS, UPPER("USERID") as USERID, UPPER(SubField(Replace(DEPT_ID,'&amp;lt;ALL&amp;gt;','$(vAllDepartments)'),'|')) as DEPT_ID From Excel ... ;&lt;/P&gt;&lt;P&gt;Then you will get all DEPT_IDs into the Authorization table.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 13:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2013750#M31559</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-12-07T13:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Dynamically from excel</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2014151#M31560</link>
      <description>&lt;P&gt;thank you so much, but my problem is not that all departments in the table,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my problem is that, am using the same table, in QLIK load script it works ( Inline writing) ,&lt;/P&gt;
&lt;P&gt;but when i put it in excel , it gives the users (ACCESS DENIED)&lt;/P&gt;
&lt;P&gt;I know how to put the rest of the departments in the table, why it is not giving access through excel tho?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 05:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2014151#M31560</guid>
      <dc:creator>Saif1</dc:creator>
      <dc:date>2022-12-08T05:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Dynamically from excel</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2014312#M31561</link>
      <description>&lt;P&gt;i am trying several things,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what worked that when the ACCESS field on user A is USER , it gets ACCESS DENIED , but when changing to ADMIN it works, why tho ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the logic is correct, the link table is correct, the data is correct , but am still getting ACCESS DENIED on the users&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THIS&lt;STRONG&gt; DID NOT WORK :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;ACCESS , USERID, DEPARTMENT, CENTERID&lt;/P&gt;
&lt;P&gt;ADMIN, DOMAIN\QLIKADMIN,&amp;lt;ALL&amp;gt;,&amp;lt;ALL&amp;gt;&lt;/P&gt;
&lt;P&gt;USER, DOMAIN\A,866,&amp;lt;ALL&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we see in the table above that the ACCESS for user A was "USER"&lt;/P&gt;
&lt;P&gt;when changing to ADMIN , it worked, but i dont think this is the right method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THIS WORKED but not a fix :&lt;/P&gt;
&lt;P&gt;ACCESS , USERID, DEPARTMENT, CENTERID&lt;/P&gt;
&lt;P&gt;ADMIN, DOMAIN\QLIKADMIN,&amp;lt;ALL&amp;gt;,&amp;lt;ALL&amp;gt;&lt;/P&gt;
&lt;P&gt;ADMIN, DOMAIN\A,866,&amp;lt;ALL&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any Help ???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 11:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access-Dynamically-from-excel/m-p/2014312#M31561</guid>
      <dc:creator>Saif1</dc:creator>
      <dc:date>2022-12-08T11:49:59Z</dc:date>
    </item>
  </channel>
</rss>

