<?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: Sheet property access using sheet properties condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884319#M72836</link>
    <description>&lt;P&gt;so if i understant clearly,&lt;/P&gt;
&lt;P&gt;the following statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;Load * INLINE [
    ACCESS,  USER.EMAIL,             SALES, MARGIN
    USER,    USER1@example.com,      0,     0
    USER,    USER2@example.com,      1,     0
    ADMIN,   USER3@example.com,      1,     1
];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So basically the field SALES and MARGIN are field that will link to the sheet named 'SALES" and 'MARGIN' in my application. Is that right ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 08:48:18 GMT</pubDate>
    <dc:creator>random_user_3869</dc:creator>
    <dc:date>2022-01-24T08:48:18Z</dc:date>
    <item>
      <title>Sheet property access using sheet properties condition</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884001#M72801</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;i work for a company that use section access in qlik cloud to manage access to the business users.&lt;/P&gt;
&lt;P&gt;Although section access is effective, i would like to improve it by limiting access to some **bleep**s regarding some business users&lt;/P&gt;
&lt;P&gt;in qlik cloud/qlik sense (i'm using qlik cloud saas) when i go to a sheet i get to the property sheet&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lessassy_3869_0-1642785106981.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/70742i15D577C761760332/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lessassy_3869_0-1642785106981.png" alt="lessassy_3869_0-1642785106981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then i try to use the id regarding the section access to limit the access to one or more user. so my syntax is the following&lt;/P&gt;
&lt;P&gt;i consider myself as '_user_1' and i have full access to qlik cloud&lt;/P&gt;
&lt;P&gt;=If(wildmatch([USER.EMAIL],'*user_1*','*user_2*'),1,0) in the display window (in the picture it is in "condition d'affichage" box.&lt;/P&gt;
&lt;P&gt;I faced some issue with that because the sheet on one hand disapear and on one hand appear again so it might not be the right approach.&lt;/P&gt;
&lt;P&gt;Do you thing my expression could be improved somewhat ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 17:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884001#M72801</guid>
      <dc:creator>random_user_3869</dc:creator>
      <dc:date>2022-01-21T17:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet property access using sheet properties condition</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884127#M72812</link>
      <description>&lt;P&gt;Hi, I would prefer to have 1 or 0 loaded in section access:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Load * INLINE [
    ACCESS,  USER.EMAIL,             SALES, MARGIN
    USER,    USER1@example.com,      0,     0
    USER,    USER2@example.com,      1,     0
    ADMIN,   USER3@example.com,      1,     1
];&lt;/LI-CODE&gt;
&lt;P&gt;So the condition to show the sheet could be only "=SALES" or "=MARGIN" meaning the USER1 doesnt' sees sales or margin related sheets, USER2 sees sales related but not margin sheets and USER3 sees all.&lt;/P&gt;
&lt;P&gt;you can also create calcualted fields:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LOAD
  *,
  If(wildmatch([USER.EMAIL],'*USER1*','*USER2*'),1,0) as SALES
INLINE [
    ACCESS,  USER.EMAIL
    USER,    USER1@example.com
    USER,    USER2@example.com
    ADMIN,   USER3@example.com
];&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 22 Jan 2022 08:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884127#M72812</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-01-22T08:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet property access using sheet properties condition</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884319#M72836</link>
      <description>&lt;P&gt;so if i understant clearly,&lt;/P&gt;
&lt;P&gt;the following statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;Load * INLINE [
    ACCESS,  USER.EMAIL,             SALES, MARGIN
    USER,    USER1@example.com,      0,     0
    USER,    USER2@example.com,      1,     0
    ADMIN,   USER3@example.com,      1,     1
];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So basically the field SALES and MARGIN are field that will link to the sheet named 'SALES" and 'MARGIN' in my application. Is that right ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 08:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884319#M72836</guid>
      <dc:creator>random_user_3869</dc:creator>
      <dc:date>2022-01-24T08:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet property access using sheet properties condition</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884325#M72837</link>
      <description>&lt;P&gt;Hi, yes, when each user opens the app will have 1 or 0 in each field.&lt;/P&gt;
&lt;P&gt;I forgot: you also need a table outside section access (in section application) with both values for each field:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SALES:
LOAD * Inline [
SALES
0
1
];&lt;/LI-CODE&gt;
&lt;P&gt;So when a user opens the app, the section access applies reduction and only one value for each field is avalable, and there is no option to access the othe value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 09:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-property-access-using-sheet-properties-condition/m-p/1884325#M72837</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-01-24T09:03:37Z</dc:date>
    </item>
  </channel>
</rss>

