<?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 Along with a partial reload in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489140#M101762</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41222"&gt;@Qrishna&lt;/a&gt;&amp;nbsp;Thank you for the reply. Does this mean that there is no way of applying a successful partial reload to a section access?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2024 10:45:08 GMT</pubDate>
    <dc:creator>Shouq</dc:creator>
    <dc:date>2024-10-25T10:45:08Z</dc:date>
    <item>
      <title>Section Access Along with a partial reload</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489120#M101759</link>
      <description>&lt;P&gt;Hello I want to implement a partial reload for my application. I want to only reload the section access every evening.&amp;nbsp; Partial reload works but I don't think it refreshes the access. This is how I tested it: I gave myself access, did a full reload, all normal. Then took away my access and did a partial reload and I still had access.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;DIV&gt;section access;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Let vLastReloadMode = If(IsPartialReload(), 'Partial', 'Full');&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Replace LOAD&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 'ADMIN' as ACCESS,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(MEG = 1, 'REDACTED\'&amp;amp;Upper(SapUser)) as USERID&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;FROM [lib://REDACTED/EmployeesFunction*.xlsx]&lt;/DIV&gt;
&lt;DIV&gt;(ooxml, embedded labels, table is Sheet1)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;where 1=1;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Concatenate&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;SecurityScheduler:&lt;/DIV&gt;
&lt;DIV&gt;Load * Inline&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;[ ACCESS, USERID&lt;/DIV&gt;
&lt;DIV&gt;ADMIN, INTERNAL\SA_SCHEDULER];&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;section application;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Oct 2024 08:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489120#M101759</guid>
      <dc:creator>Shouq</dc:creator>
      <dc:date>2024-10-25T08:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Along with a partial reload</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489138#M101761</link>
      <description>&lt;P&gt;when section access file has changes, do a full refresh and not any partial loads as with the latter&amp;nbsp; theres always connections to other datasets/tables. that wont be refreshed/relations wont be refreshed.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 10:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489138#M101761</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2024-10-25T10:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Along with a partial reload</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489140#M101762</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41222"&gt;@Qrishna&lt;/a&gt;&amp;nbsp;Thank you for the reply. Does this mean that there is no way of applying a successful partial reload to a section access?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 10:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489140#M101762</guid>
      <dc:creator>Shouq</dc:creator>
      <dc:date>2024-10-25T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Along with a partial reload</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489159#M101764</link>
      <description>&lt;P&gt;technically you can but most of the time we encounter with issues like not proper data reduction etc. in your case i believe the section access tables is not completely replaced by the new one.&amp;nbsp; Try below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Section Access;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;If IsPartialReload() Then&lt;BR /&gt;//Replace the section access table with the new data if partial reload&lt;BR /&gt;Section Access;&lt;BR /&gt;SecurityScheduler:&lt;BR /&gt;Load * Inline &lt;BR /&gt;[ ACCESS, USERID&lt;BR /&gt;ADMIN, INTERNAL\SA_SCHEDULER];&lt;BR /&gt;CONCATENATE(SecurityScheduler)&lt;BR /&gt;LOAD 'ADMIN' as ACCESS,&lt;BR /&gt;if(MEG = 1, 'REDACTED\'&amp;amp;Upper(SapUser)) as USERID&lt;BR /&gt;FROM [lib://REDACTED/EmployeesFunction*.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;BR /&gt;where 1=1;&lt;BR /&gt;Else&lt;BR /&gt;// Full Reload&lt;BR /&gt;Section Access;&lt;BR /&gt;Load * INLINE [ &lt;BR /&gt;ACCESS, USERID&lt;BR /&gt;ADMIN, INTERNAL\SA_SCHEDULER];&lt;BR /&gt;End If;&lt;/P&gt;
&lt;P&gt;Section Application;&lt;/P&gt;
&lt;P&gt;EXIT SCRIPT;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i havent run this script as i dont have any sample data to test. so let me know how that goes with code above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 11:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-Along-with-a-partial-reload/m-p/2489159#M101764</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2024-10-25T11:40:16Z</dc:date>
    </item>
  </channel>
</rss>

