<?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: Run Macro from trigger/selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185462#M383633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="trigger.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139121_trigger.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here is my requirement, is it possible to Select Field Refresh With my Variable? Variable becomes 1 when Seconds &amp;gt;50. When this happens, Select Refresh. If my Field Refresh get selected I can add a Field Event trigger to run my macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2016 07:08:24 GMT</pubDate>
    <dc:creator>stabben23</dc:creator>
    <dc:date>2016-09-29T07:08:24Z</dc:date>
    <item>
      <title>Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185457#M383628</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;Cant find a smart way to fire my macro "RefreshData". I have a macro that needs to be fired from inside Application.&lt;/P&gt;&lt;P&gt;I have variables vSecond =&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;second&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;now&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1)) , vReload= &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vSecond)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;50,1,0) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So when my vReload is 1 it should&amp;nbsp; fire the macro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any actions the fits my requirement? I have test some but without success.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 11:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185457#M383628</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-28T11:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185458#M383629</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;Have you looked into "Variable Event Triggers" in Document Properties?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139008_Capture.PNG" style="height: 530px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;You may be able to accomplish what you need to, with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 13:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185458#M383629</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-09-28T13:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185459#M383630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sinan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, i have struggeling With that, But no success. My variable vReload changes to 1 when 50 second on systemclock.&lt;/P&gt;&lt;P&gt;So far so good, but now I have to in some way fire my macro who is inside "Edit Module". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 14:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185459#M383630</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-28T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185460#M383631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using "Run Macro" action from the external action type? If so, just grab the Sub/Macro name and place it into the box shown below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139009_Capture.PNG" style="height: 302px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I understood your problem correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 14:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185460#M383631</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-09-28T14:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185461#M383632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sinan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not have the trigger on Document Level OnAnySelect, when the variable becomes 1 it should trigger the macro.&lt;/P&gt;&lt;P&gt;I look for: variable=1, Select a Field and that Field triggers the macro or if the variable itself can trigger the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test this by doing a variable like this &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;now(1)&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;50,1,0)&amp;nbsp; 1 run macro.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 05:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185461#M383632</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-29T05:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185462#M383633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="trigger.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139121_trigger.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here is my requirement, is it possible to Select Field Refresh With my Variable? Variable becomes 1 when Seconds &amp;gt;50. When this happens, Select Refresh. If my Field Refresh get selected I can add a Field Event trigger to run my macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 07:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185462#M383633</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-29T07:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185463#M383634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Staffan,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am not sure what is the purpose of reloading the dashboard every 50 seconds. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;I think, it's not a good idea. What If your dashboard takes more than 50 seconds to load all the data.?&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;So I will not suggest to reload on every 50 seconds. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached one solution, since you asked. I just used "Variable Event Trigger" option. If you have any questions, Let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 08:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185463#M383634</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-09-29T08:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185464#M383635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll check this very soon, 50 sec is just for test, I think I'll use every second minute instead. The application itself takes around 30 sec to reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 08:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185464#M383635</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-29T08:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185465#M383636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tamil, I'm confused here. It Works as expected in Your Application but not in my QV12 SR5. What Version have you build it in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185465#M383636</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-29T09:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185466#M383637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Staffan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using 11.20.XXXX.&amp;nbsp; If my sample works in your desktop, then it should work in your file as well. Did you follow the same procedure.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185466#M383637</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-09-29T09:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185467#M383638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil,&lt;/P&gt;&lt;P&gt;I forgott the = sign in the variable. When a look in my text Box With the Variable I have $ expansion so it looks like the flag was 1,0.&lt;/P&gt;&lt;P&gt;But the variable it self was only the Expression. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 10:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185467#M383638</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-29T10:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185468#M383639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Staffan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create an inputbox and add our created variable&amp;nbsp;&amp;nbsp; vReloadTrigger using the inputbox wizard. Now, you should see 1 in the inputbox every 50 seconds and 0 after 60 seconds. If not, copy paste the expression from the above attached file and see whether you are able to see the values. Also, check whether you have entered same module name in the trigger action or not. If everything is ok, you can see the automatic reload window every 50 seconds. If you still face issues, please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 16:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185468#M383639</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-09-29T16:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185469#M383640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No issue, works as expected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 20:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185469#M383640</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-09-29T20:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from trigger/selection</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185470#M383641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Staffan. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Please close the thread by marking correct answer. It will help others (&lt;SPAN style="font-size: 13.3333px;"&gt;who browse for the similar problem&lt;/SPAN&gt;) to find the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 06:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-trigger-selection/m-p/1185470#M383641</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-09-30T06:31:36Z</dc:date>
    </item>
  </channel>
</rss>

