<?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: App Access Denied with Section Access in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171775#M21411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Section Application you have used RESIDENT APPDetail...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you give me a snapshot of how AppDetail table looks like .. as there should be association of the section application with your AppDetail table and for the timebeing please avoid using '*' in the section access reduction fields or please attach your sample app I will write the logic and send it across to you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 13:12:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-13T13:12:20Z</dc:date>
    <item>
      <title>App Access Denied with Section Access</title>
      <link>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171771#M21407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm adding Section Access for the first time to an app, and am finding no matter what I put in the script (even if it's an exact copy of what's included on the related help page, once I run and post it to the hub, I get an "access denied" message when I try to open that particular app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the section access script I'm using to allow me (KALMIRALL) access to see all fields, and another user (KRODBRO) access to only see records associated with Chicago.&amp;nbsp; Both of us are getting the "access denied" message when we try to open the app, but can access it fine if we comment out this section of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD * inline [&lt;/P&gt;&lt;P&gt;ACCESS, USERID,REDUCTION&lt;/P&gt;&lt;P&gt;USER, NLNS-NY-APPS\KALMIRALL,*,&lt;/P&gt;&lt;P&gt;USER, NLNS-NY-APPS\KRODBRO,CHICAGO,&lt;/P&gt;&lt;P&gt;USER, INTERNAL\SA_SCHEDULER,*,&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;section application;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;UPPER(Key_City) AS REDUCTION&lt;/P&gt;&lt;P&gt;RESIDENT APPDetail;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171771#M21407</guid>
      <dc:creator>kalmirall</dc:creator>
      <dc:date>2016-06-10T14:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: App Access Denied with Section Access</title>
      <link>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171772#M21408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What solved your problem is the following declaration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STAR IS *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It means that whoever is defined with *, should get access to all possible values in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed, however, that this setting leads to a significant slow-down of the script. I ended up building the list of all possible entities manually, to avoid using STAR IS *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Check out my new book&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=IN55M5EPRHLRBWIQ"&gt; QlikView Your Business &lt;/A&gt;- The Expert Guide for QlikView and Qlik Sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 15:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171772#M21408</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-06-10T15:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: App Access Denied with Section Access</title>
      <link>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171773#M21409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Oleg- I'm not quite sure I understand what I should change to not get an "access denied" message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 21:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171773#M21409</guid>
      <dc:creator>kalmirall</dc:creator>
      <dc:date>2016-06-10T21:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: App Access Denied with Section Access</title>
      <link>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171774#M21410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Katie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My initial though was that adding one line would help you problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STAR IS *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, after reading your script one more time, I'm not sure that this is enough. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to facilitate Data Reduction by section access, you need to ensure the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add an extra field to the Access table with upper case values (no * there).&lt;/P&gt;&lt;P&gt;2. Associate the new field with an existing field in your database in Section Application, based on what information should be available to what users. Something along the following lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Section Access;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * inline [&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ACCESS, USERID,REDUCTION&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USER, NLNS-NY-APPS\KALMIRALL, ALL&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USER, NLNS-NY-APPS\KRODBRO, CHICAGO&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USER, INTERNAL\SA_SCHEDULER, ALL&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;section application;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STAR IS *;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;T1:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * inline [&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;REDUCTION, Key_City&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ALL, *&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CHICAGO, Chicago&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The important missing part in your script is that the association between the security field REDUCTION and the database field Key_City has to be defined in Section Application, not in Section Access.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;cheers,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Oleg Troyansky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 20:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171774#M21410</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-06-12T20:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: App Access Denied with Section Access</title>
      <link>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171775#M21411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Section Application you have used RESIDENT APPDetail...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you give me a snapshot of how AppDetail table looks like .. as there should be association of the section application with your AppDetail table and for the timebeing please avoid using '*' in the section access reduction fields or please attach your sample app I will write the logic and send it across to you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 13:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/App-Access-Denied-with-Section-Access/m-p/1171775#M21411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-13T13:12:20Z</dc:date>
    </item>
  </channel>
</rss>

