<?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 in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501382#M29068</link>
    <description>&lt;P&gt;The ID I'm using for the SECTIONACCESSKEY is the employeeid, seperate from the USERID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I changed the model to use the USERID instead, but its still not limiting the data as intended. When removing the 'Section Access' sections and testing the model manually, it works.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 09:23:44 GMT</pubDate>
    <dc:creator>stephenfryer</dc:creator>
    <dc:date>2025-01-15T09:23:44Z</dc:date>
    <item>
      <title>Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501003#M29060</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;
&lt;P&gt;I have developed a dynamic section access for an app, following the Qlik documentation. As far as I can tell, I have followed it correctly, however, section access is not working as expected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Within my model, I do have a field labelled&amp;nbsp;&lt;SPAN&gt;SECTIONACCESSKEY, which only contains&amp;nbsp;[ManagerEmployeeID], so I know this matches the section access script below. If anyone could review my script and point me in the right direction, it would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Some key words have been replaced with 'Dummy' for the purpose of posting on this forum.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/*******************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Import default manager access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;********************************************************************************/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LIB CONNECT TO 'Dummy';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NoConcatenate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Managers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'USER' AS ACCESS,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lower([ManagerEmailAddress]) AS [USER.EMAIL],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ManagerEmployeeID] AS SECTIONACCESSKEY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[DummySchema].[DummyTable]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GROUP BY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ManagerEmailAddress],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ManagerEmployeeID]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HAVING&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;COUNT([EmployeeName]) &amp;gt; 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DisConnect;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/*******************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Import default manager access level&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;********************************************************************************/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NoConcatenate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PermissionsList:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Load&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACCESS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,USER.EMAIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,SECTIONACCESSKEY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resident&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Managers;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Concatenate(PermissionsList)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACCESS, USER.EMAIL, SECTIONACCESSKEY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ADMIN, stephenfryer@Dummy.co.uk, 0002642&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DROP TABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;QlikUsers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,Managers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Store PermissionsList into [lib://BI Dev:DataFiles/5099 - Colleague KPI/UserPermissions.QVD](qvd);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drop Table PermissionsList;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/*******************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Section Access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;********************************************************************************/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Section Access;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Load&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACCESS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,USER.EMAIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,SECTIONACCESSKEY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[lib://BI Dev:DataFiles/5099 - Colleague KPI/UserPermissions.QVD](qvd)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1=1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Section Application;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 16:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501003#M29060</guid>
      <dc:creator>stephenfryer</dc:creator>
      <dc:date>2025-01-29T16:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501020#M29061</link>
      <description>&lt;P&gt;Hi, you can try removing "Section Access;" so this table will be loaded as one table, the in design build some simple table to check the values loaded an the relationship between data.&lt;/P&gt;
&lt;P&gt;Maybe it has something to do with the leading zeros, in that case try using Text() to load all values as text&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 12:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501020#M29061</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-01-13T12:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501021#M29062</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213395"&gt;@stephenfryer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First thing I am seeing is that the Email should be forced to Upper case (I see you are doing a lower).&lt;/P&gt;
&lt;P&gt;I assume you have a field in your data model that has the fieldname&amp;nbsp;SECTIONACCESSKEY that would do the reduction?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Perhaps share a image of your data model? Test the above and revert if needed please.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 12:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501021#M29062</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-13T12:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501028#M29063</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213395"&gt;@stephenfryer&lt;/a&gt;&amp;nbsp;If user is logging in with his/her ID then there no need to use it as SECTIONACCESSKEY since it usually used for row level access. Your can use ID column as ACCESS,USERID, NAME. It will automatically restrict the data in required format. Refer below script, where I restricted the Data on ID level.&lt;/P&gt;
&lt;P&gt;Section Access;&lt;BR /&gt;ACCESS:&lt;BR /&gt;LOAD&lt;BR /&gt;Upper(USERID) as USERID,&lt;/P&gt;
&lt;P&gt;Upper("ACCESS") as ACCESS&lt;BR /&gt;FROM [Section Access.xlsx];&lt;/P&gt;
&lt;P&gt;Concatenate&lt;BR /&gt;LOAD&lt;BR /&gt;Upper(USERID) as USERID,&lt;BR /&gt;Upper("ACCESS") as ACCESS&lt;BR /&gt;FROM [RM_Section_Access.xlsx];&lt;BR /&gt;Section Application;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 12:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501028#M29063</guid>
      <dc:creator>Bhushan_Mahajan</dc:creator>
      <dc:date>2025-01-13T12:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501030#M29064</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/213395"&gt;@stephenfryer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If this is for On Prem (Qlik Sense) then you should use USERID, If this is for Qlik Cloud you should use USER.EMAIL.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Don't know if this is what is causing the misbehavior.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 12:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501030#M29064</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-13T12:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501140#M29065</link>
      <description>&lt;P&gt;Thank you all for your suggestions. I will work through them and let you know either why what has/has not worked.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 09:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501140#M29065</guid>
      <dc:creator>stephenfryer</dc:creator>
      <dc:date>2025-01-14T09:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501376#M29066</link>
      <description>&lt;P&gt;Thanks Rubenmarin.&lt;/P&gt;
&lt;P&gt;I removed the section access sections and tested the model on its own, and it worked as intended. I also checked the leading zeros and used the text() function to force them to text, but still no joy.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 09:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501376#M29066</guid>
      <dc:creator>stephenfryer</dc:creator>
      <dc:date>2025-01-15T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501380#M29067</link>
      <description>&lt;P&gt;Hi JandreKillianRIC,&lt;/P&gt;
&lt;P&gt;I tried using the UPPER() function on both email columns in the model ahead of it being used in the 'Section Access' section, but it didn't change anything.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've attached a picture of the current model. I have uncommented the 'Section Access', so that you can see its relationship to the hierarchy.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 09:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501380#M29067</guid>
      <dc:creator>stephenfryer</dc:creator>
      <dc:date>2025-01-15T09:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501382#M29068</link>
      <description>&lt;P&gt;The ID I'm using for the SECTIONACCESSKEY is the employeeid, seperate from the USERID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I changed the model to use the USERID instead, but its still not limiting the data as intended. When removing the 'Section Access' sections and testing the model manually, it works.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 09:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501382#M29068</guid>
      <dc:creator>stephenfryer</dc:creator>
      <dc:date>2025-01-15T09:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501383#M29069</link>
      <description>&lt;P&gt;We're using Qlik Cloud. I have tried both USERID and USER.EMAIL, neither of them seem to work.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 09:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501383#M29069</guid>
      <dc:creator>stephenfryer</dc:creator>
      <dc:date>2025-01-15T09:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501395#M29070</link>
      <description>&lt;P&gt;Can you prepare some dummy example app and data that demonstrates the issue and upload it? So we can check what's happening.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 09:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Section-Access/m-p/2501395#M29070</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-01-15T09:33:32Z</dc:date>
    </item>
  </channel>
</rss>

