<?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 Triggers on SheetActivation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252988#M849438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers&lt;/P&gt;&lt;P&gt;i've created a list of my Sheets Name and i check changes on the filed "onglet" to activate the selected sheet.&lt;/P&gt;&lt;P&gt;(Properties Of document / Triggers / Triggers for events on a field)&lt;/P&gt;&lt;P&gt;This part works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also set a trigger on "RDV" sheet to select specific salesman.&lt;/P&gt;&lt;P&gt;When sheet "RDV" is selected i want "salesman" = "jon" (&lt;SPAN style="font-size: 13.3333px;"&gt;that works manually but not with the sheet list method below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas to fix this?&lt;/P&gt;&lt;P&gt;thx by advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>maxime66</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252988#M849438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers&lt;/P&gt;&lt;P&gt;i've created a list of my Sheets Name and i check changes on the filed "onglet" to activate the selected sheet.&lt;/P&gt;&lt;P&gt;(Properties Of document / Triggers / Triggers for events on a field)&lt;/P&gt;&lt;P&gt;This part works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also set a trigger on "RDV" sheet to select specific salesman.&lt;/P&gt;&lt;P&gt;When sheet "RDV" is selected i want "salesman" = "jon" (&lt;SPAN style="font-size: 13.3333px;"&gt;that works manually but not with the sheet list method below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas to fix this?&lt;/P&gt;&lt;P&gt;thx by advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252988#M849438</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252989#M849439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you remove the sheet trigger and add an extra action to your field trigger to set the salesman field with this expression ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;onglet&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='RDV','jon','') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 15:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252989#M849439</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2017-03-21T15:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252990#M849440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think you&amp;nbsp; need to create the variable salesman before hand. I tried by creating it in the script and it worked. Please find attchment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 15:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252990#M849440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-21T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252991#M849441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i need Salesman to be really "selected" to filter all datas linked to him&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB : The Qvw file that i join, is just an exemple,&lt;/P&gt;&lt;P&gt;real Qvw file has 30 sheets and each one has diffrent triggers ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 15:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252991#M849441</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2017-03-21T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252992#M849442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=OJgxnSKC3YM" title="https://www.youtube.com/watch?v=OJgxnSKC3YM"&gt;https://www.youtube.com/watch?v=OJgxnSKC3YM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=9vKN4-FgXZE" title="https://www.youtube.com/watch?v=9vKN4-FgXZE"&gt;https://www.youtube.com/watch?v=9vKN4-FgXZE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope that helps&lt;/P&gt;&lt;P&gt;beck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 17:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252992#M849442</guid>
      <dc:creator>beck_bakytbek</dc:creator>
      <dc:date>2017-03-21T17:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252993#M849443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AM unable to get your eact requirement. Can you please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 07:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252993#M849443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-22T07:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252994#M849444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have used different dimensions in two sheets try with the same dimension so that it will be automatically selected in mentioned "RDV" sheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 10:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252994#M849444</guid>
      <dc:creator>yoganantha321</dc:creator>
      <dc:date>2017-03-22T10:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252995#M849445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting triggers to work exactly how you need them can be a bit tricky. What I think is happening is that although the field trigger and sheet trigger work independently, they don't work in combination. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are keeping the tab row, then you need to have both types of trigger set up. If not then you can probably avoid the use of sheet triggers. The field trigger needs to also select the relevant salesman, like my earlier code. If you have different values for the salesman field depending on the sheet chosen, you will need to use an if statement, or I would use a pick/match combination (much easier to read than an 'if') like this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=pick(match(onglet,'RDV','Actions'),'Jon','Jack')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What this does is look at the value of onglet and match it against the listed values RDV and Actions returning 1 or 2 if there's a match and zero if none found. It then picks value 1 or 2 from the list of salesmen names and this can be applied to the field salesman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 11:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252995#M849445</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2017-03-22T11:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252996#M849446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm gonna do that !&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;And thanks also to all of you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 11:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252996#M849446</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2017-03-22T11:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252997#M849447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apply select in field trigger &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157108_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 11:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252997#M849447</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-03-22T11:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on SheetActivation</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252998#M849450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i find another way (without modifying my sheet triggers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Document Properties / Triggers / Field event triggers /&amp;nbsp; field &amp;lt;onglet&amp;gt; / OnSelect / Execute macro : theFieldValues)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub theFieldValues&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets(ActiveDocument.Fields("id_onglet").GetPossibleValues.Item(i).Text).Activate&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works fine ! (as long as Qlik keeps Vba module &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; in their plan )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 09:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-SheetActivation/m-p/1252998#M849450</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2017-03-23T09:28:33Z</dc:date>
    </item>
  </channel>
</rss>

