<?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: How do Document Triggers really work? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876705#M1018874</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;It looks strange you write Period and PERIOD. Are they the different fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="13.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83116_13.png" style="height: 379px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 13:29:47 GMT</pubDate>
    <dc:creator>pokassov</dc:creator>
    <dc:date>2015-04-08T13:29:47Z</dc:date>
    <item>
      <title>How do Document Triggers really work?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876704#M1018873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a trigger that I have set for OnOpen in the Document Triggers that should give me the most current period as the default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is coded as =max(PERIOD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document always opens with the Period 201412 even though the latest period is 201512.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the document was saved before being published 201412 was the choice.&amp;nbsp; So it appears that something overrides the trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is happening on my copy in development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting the expected results on the Portal either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can someone hopefully explain what I might be doing wrong or if this is how it works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876704#M1018873</guid>
      <dc:creator>rittermd</dc:creator>
      <dc:date>2015-04-08T13:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do Document Triggers really work?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876705#M1018874</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;It looks strange you write Period and PERIOD. Are they the different fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="13.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83116_13.png" style="height: 379px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876705#M1018874</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-08T13:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do Document Triggers really work?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876706#M1018875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;On opening&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can add&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a trigger&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to clear&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;all selections&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;before applying&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the new selection.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Action Type:&amp;nbsp; Selection&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Action:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Clear All&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876706#M1018875</guid>
      <dc:creator />
      <dc:date>2015-04-08T13:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do Document Triggers really work?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876707#M1018876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OnOpen trigger doesn't (always) work in Ajax. If you are using Ajax as client and not plugin this could be your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876707#M1018876</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-04-08T14:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do Document Triggers really work?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876708#M1018877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After so many tries with document/sheet/field and variables triggers, i found a way to make this thing work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what i did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable, ex: vOnOpen (set 0 or something else, it doesn't matter at this point)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Document Event Triggers, OnOpen&lt;/P&gt;&lt;P&gt;Add a action to change the variable.&lt;BR /&gt;Something like&lt;BR /&gt;if(vOnOpen='1','0','1')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, on variable event trigger, choose vOnOpen and then add a OnChange Action&lt;BR /&gt;Here's where you put all the triggers you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's weird, but for me, its working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 17:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-Document-Triggers-really-work/m-p/876708#M1018877</guid>
      <dc:creator>gradiske</dc:creator>
      <dc:date>2015-04-29T17:56:38Z</dc:date>
    </item>
  </channel>
</rss>

