<?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 Trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727642#M455516</link>
    <description>&lt;P&gt;Hi Miguel , will definitely have a look, never work with section access before. the tricky part on my side is the Username for each user isn't a 100% match to their username in the data.&amp;nbsp; So I hard code the matching user to the name in the data&lt;/P&gt;&lt;P&gt;eg. Username = JohnK , name in data = JOHN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username = John.JamesL , name in data = JJ&lt;/P&gt;&lt;P&gt;and so on....&lt;/P&gt;&lt;P&gt;the data name is stored in a mapping table which gets updates by the users to link them to their clients.&lt;/P&gt;&lt;P&gt;but will see if I can use section access to solve my issue&lt;/P&gt;&lt;P&gt;thank you very much for the input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2020 11:08:54 GMT</pubDate>
    <dc:creator>phillipmacd</dc:creator>
    <dc:date>2020-07-14T11:08:54Z</dc:date>
    <item>
      <title>Sheet Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727308#M455513</link>
      <description>&lt;P&gt;Hi All, hope someone could help me with my problem.&lt;/P&gt;&lt;P&gt;I have triggers setup "OnActivateSheet" where I select in field values depending on a user (OSUser()) to filter data for that user,&amp;nbsp; then lock that field so that users can't see other user's data.&lt;/P&gt;&lt;P&gt;The problem I have is when it is a "manager" that is supposed to see all data, that user can see everything because that user is not in the list of the trigger, but the values in that field can't be selected to filter.&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;I add a trigger (OnActivateSheet) , Select in Field, add the field , in the search string I add an IF statement that does the selection ( IF(match(OSUser(UserName),'User1',User1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(match(OSUser(UserName),'User2',User2)),&lt;/P&gt;&lt;P&gt;then I lock the field.&lt;/P&gt;&lt;P&gt;When User3 opens the sheet, all the data is available , but User3 can't select any values in the "UserName" field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding the "unlock field" option with criteria (IF(match(OSUser(UserName),'User3',UserName) but no luck....&lt;/P&gt;&lt;P&gt;Any Ideas on where my issue might be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 12:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727308#M455513</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2020-07-13T12:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727624#M455514</link>
      <description>Why not trying with section access? &lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Security.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Security.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When a user opens the app, depending on the access to you have established for each of them, they will only see the data associated with them as well as the sheets (if you want to) only relevant for such user.</description>
      <pubDate>Tue, 14 Jul 2020 10:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727624#M455514</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2020-07-14T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727636#M455515</link>
      <description>&lt;P&gt;That's not the best approach as the more advanced user can simply unlock the fields and then navigate through other users' data.&lt;/P&gt;&lt;P&gt;Section access could be your answer.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 11:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727636#M455515</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2020-07-14T11:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727642#M455516</link>
      <description>&lt;P&gt;Hi Miguel , will definitely have a look, never work with section access before. the tricky part on my side is the Username for each user isn't a 100% match to their username in the data.&amp;nbsp; So I hard code the matching user to the name in the data&lt;/P&gt;&lt;P&gt;eg. Username = JohnK , name in data = JOHN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username = John.JamesL , name in data = JJ&lt;/P&gt;&lt;P&gt;and so on....&lt;/P&gt;&lt;P&gt;the data name is stored in a mapping table which gets updates by the users to link them to their clients.&lt;/P&gt;&lt;P&gt;but will see if I can use section access to solve my issue&lt;/P&gt;&lt;P&gt;thank you very much for the input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 11:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sheet-Trigger/m-p/1727642#M455516</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2020-07-14T11:08:54Z</dc:date>
    </item>
  </channel>
</rss>

