<?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: Is there any method for API to trigger a function when a variable changes its value in Qlik? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2132152#M19369</link>
    <description>&lt;P&gt;I think the simplest way is to open the variable, for instance using "GetVariableByName" and then listen for its change notifications:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/November2022/Subsystems/EngineJSONAPI/Content/service-doc-getvariablebyname.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/November2022/Subsystems/EngineJSONAPI/Content/service-doc-getvariablebyname.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 13:31:03 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2023-10-26T13:31:03Z</dc:date>
    <item>
      <title>Is there any method for API to trigger a function when a variable changes its value in Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2129635#M19324</link>
      <description>&lt;P&gt;I am working on a mashup with Qlik sense. I wonder if there exists a method that allows me to execute an angular function everytime a Qlik variable changes its value. Or if anyone knows how can I do it. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 15:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2129635#M19324</guid>
      <dc:creator>JohnIssue</dc:creator>
      <dc:date>2023-10-18T15:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any method for API to trigger a function when a variable changes its value in Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2132152#M19369</link>
      <description>&lt;P&gt;I think the simplest way is to open the variable, for instance using "GetVariableByName" and then listen for its change notifications:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/November2022/Subsystems/EngineJSONAPI/Content/service-doc-getvariablebyname.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/November2022/Subsystems/EngineJSONAPI/Content/service-doc-getvariablebyname.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 13:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2132152#M19369</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2023-10-26T13:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any method for API to trigger a function when a variable changes its value in Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2132265#M19372</link>
      <description>&lt;P&gt;As a first aproach I am using the method selectionState() with onData(). It seems to trigger the function if a variable changes its value. Is it normal? I did not expect this &amp;nbsp;and I do not know &amp;nbsp;if I am missing something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I change the variable value with a bottom and this changes no value in any field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 19:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2132265#M19372</guid>
      <dc:creator>JohnIssue</dc:creator>
      <dc:date>2023-10-26T19:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any method for API to trigger a function when a variable changes its value in Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2136130#M19445</link>
      <description>&lt;P&gt;I'm not familiar with the details of that API and how it translates into the engine API endpoint, so others might give better answer here. But I suspect that there are conditions where a variable could change where the selection state is not affected. An obvious case would be if the value of the variable is changed explicitly and not through a change in the app data or selection state. I'm therefore not sure the approach you describe here will be complete and capture all cases where the variable changes, but it all depends on your particular use case! I assume listening on the selection state change events should capture most of the cases, so it might certainly turn out to be sufficient in your case if the conditions are right.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 07:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-there-any-method-for-API-to-trigger-a-function-when-a/m-p/2136130#M19445</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2023-11-09T07:50:25Z</dc:date>
    </item>
  </channel>
</rss>

