<?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 using multiple fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-Access-using-multiple-fields/m-p/1358728#M30415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made an example for two fields, but you could put more on your app.&lt;/P&gt;&lt;P&gt;The first inline load would give me the section access I require (that could also be loaded from an Excel file for example) and then manipulate the section access with left join to make the full login for all users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just the admin is left with visibility for all fields. To enter with the admin login,&lt;/P&gt;&lt;P&gt;User: admin&lt;/P&gt;&lt;P&gt;Pass: admin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2017 19:15:20 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2017-06-26T19:15:20Z</dc:date>
    <item>
      <title>Section Access using multiple fields</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-using-multiple-fields/m-p/1358727#M30414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to set up section access on an app using different fields for different users. I have REGION field and an OFFICE field. Some users would be restricted to an OFFICE and others to a REGION. NB. there is a 1-M link beween regions and offices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up section access using just one field with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ACCESS,USERID,OFFICE&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ADMIN,EMEA\test,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;USER,EMEA\test_restricted,Cambridge&lt;/P&gt;&lt;P&gt;];&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the following might work but no luck. I have read on the forum a way of concatenating the fields used for section access but that seems like&amp;nbsp; a more complicated way of introduced quite sophisticated access restrictions. I don't need the extra complications and was hoping for an easier way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Section Access;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ACCESS,USERID,OFFICE, REGION&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;ADMIN,EMEA\test,,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USER,EMEA\test_restricted1,Cambridge,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USER,EMEA\test_restricted2,,NorthWest&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;];&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Section Application;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-using-multiple-fields/m-p/1358727#M30414</guid>
      <dc:creator />
      <dc:date>2017-06-26T12:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access using multiple fields</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-using-multiple-fields/m-p/1358728#M30415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made an example for two fields, but you could put more on your app.&lt;/P&gt;&lt;P&gt;The first inline load would give me the section access I require (that could also be loaded from an Excel file for example) and then manipulate the section access with left join to make the full login for all users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just the admin is left with visibility for all fields. To enter with the admin login,&lt;/P&gt;&lt;P&gt;User: admin&lt;/P&gt;&lt;P&gt;Pass: admin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 19:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-using-multiple-fields/m-p/1358728#M30415</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-06-26T19:15:20Z</dc:date>
    </item>
  </channel>
</rss>

