<?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: Triggers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658688#M730210</link>
    <description>&lt;P&gt;Wonderful!&lt;/P&gt;&lt;P&gt;Exactly what I was looking for!&lt;/P&gt;&lt;P&gt;You are it!!&lt;/P&gt;&lt;P&gt;Much obliged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 19:52:09 GMT</pubDate>
    <dc:creator>jduenyas</dc:creator>
    <dc:date>2019-12-17T19:52:09Z</dc:date>
    <item>
      <title>Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658663#M730204</link>
      <description>&lt;P&gt;Hello gurus&lt;/P&gt;&lt;P&gt;In Document settings and triggers one can create a trigger for OnAnySelect. Meaning any object selected/touched will trigger an event/action.&lt;/P&gt;&lt;P&gt;Is it possible to send the Object's ID (or name) to a macro if a macro is set to run on the trigger?&lt;/P&gt;&lt;P&gt;For instance, if a table's ID is TB01 and a user selects a record in the table, I would like the trigger to send to a macro that TB01 was activated.&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658663#M730204</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658675#M730205</link>
      <description>&lt;P&gt;I don't believe that OnAnySelect will trigger when an object is selected. I think it is triggered when a selection is made in any field.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658675#M730205</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-12-17T19:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658680#M730207</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;That is what I meant. If a field is selected -- say Name of a SalesPerson in the table, a trigger is fired. I know that for a fact as I have created such an event/action.&lt;/P&gt;&lt;P&gt;However, I would like to send to the macro the name of the table from which the event was triggered.&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;Like ActiveDocument.&lt;STRONG&gt;&lt;EM&gt;ActiveObject(name)&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;Is there such a thing as "ActiveObject(name)" or any way to pass the object's name.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658680#M730207</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2019-12-17T19:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658687#M730208</link>
      <description>&lt;P&gt;This script should return the object id of the active object on the active sheet:&lt;/P&gt;&lt;P&gt;set s=ActiveDocument.ActiveSheet&lt;BR /&gt;objs=s.GetSheetObjects&lt;BR /&gt;for i=lbound(objs) to ubound(objs)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if objs(i).IsActive then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id = obj(i).GetObjectId&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox("ID = " &amp;amp; id)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;end if&lt;BR /&gt;next&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658687#M730208</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-12-17T19:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658688#M730210</link>
      <description>&lt;P&gt;Wonderful!&lt;/P&gt;&lt;P&gt;Exactly what I was looking for!&lt;/P&gt;&lt;P&gt;You are it!!&lt;/P&gt;&lt;P&gt;Much obliged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658688#M730210</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2019-12-17T19:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658762#M730211</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DID NOT WORK UNTIL...&lt;/P&gt;&lt;P&gt;It took me some long moments of frustration to find the error in your code&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&gt;😆&lt;/span&gt;&lt;/P&gt;&lt;P&gt;set s=ActiveDocument.ActiveSheet&lt;BR /&gt;objs=s.GetSheetObjects&lt;BR /&gt;for i=lbound(objs) to ubound(objs)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if objs(i).IsActive then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id = obj(i).GetObjectId&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox("ID = " &amp;amp; id)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;end if&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SHOULD BE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set s=ActiveDocument.ActiveSheet&lt;BR /&gt;objs=s.GetSheetObjects&lt;BR /&gt;for i=lbound(objs) to ubound(objs)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if objs(i).IsActive then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id = obj&lt;FONT size="5" color="#ff0000"&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/FONT&gt;(i).GetObjectId&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox("ID = " &amp;amp; id)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;end if&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;And then it works.&lt;/P&gt;&lt;P&gt;Once again thank you&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 00:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers/m-p/1658762#M730211</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2019-12-18T00:40:41Z</dc:date>
    </item>
  </channel>
</rss>

