<?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: Qlik Sense: app.variable.getContent() doesn't return the current variable value in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460441#M9404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue. I'm currently working on an extension where I want to feed Qlik with a value &lt;STRONG&gt;setContent&lt;/STRONG&gt; and get the results string back from a variable using &lt;STRONG&gt;getContent&lt;/STRONG&gt;. &lt;STRONG&gt;getContent&lt;/STRONG&gt; only returns the default value, not the updated one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2018 08:41:18 GMT</pubDate>
    <dc:creator>filip_tinglof84</dc:creator>
    <dc:date>2018-03-15T08:41:18Z</dc:date>
    <item>
      <title>Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460436#M9399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I'm developing a Qlik Sense extension which should set the value of a variable according to a button click.The extension should then read the new updated value of the same variable.I'm using the variable api.&lt;/P&gt;&lt;P&gt;The setting of the variable's value works fine, the new updated value is being displayed correctly in (e.g.) a table, but when I try to access to the variable's value inside the javascript code of my extension I always receive the value that has been set by the very first button click. If I reload the app in the browser then the whole behavior starts from the beginning again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words:&lt;/P&gt;&lt;P&gt;Clicking the button for the first time sets the variable successfully to "1". When I try to get the variable's value it returns me the value "1".&lt;/P&gt;&lt;P&gt;Clicking the button for the second time sets the variable successfully to "2". Getting the variable's value still returns "1".&lt;/P&gt;&lt;P&gt;Clicking the button for the third time sets the variable successfully to "3". Getting the variable's value still returns "1".&lt;/P&gt;&lt;P&gt;And so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my current code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;app.variable.setStringValue("SampleVariable",varValue).then(()=&amp;gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.variable.getContent('SampleVariable',function ( reply ) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(JSON.stringify( reply ) );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } ); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I've tried the same by using the following code but it produces exactly the same incorrect behavior:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.variable.setStringValue("SampleVariable, varValue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .then(() =&amp;gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.variable.getByName('SampleVariable').then(variableModel =&amp;gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variableModel.getLayout().then(variableLayout =&amp;gt; {&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log("variableLayout: " + JSON.stringify(variableLayout));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reading!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 12:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460436#M9399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-08T12:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460437#M9400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Max!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having the same problem you described. I'm trying to work out this issue for quite some time now but didn't find a suitable solution yet...&lt;/P&gt;&lt;P&gt;I've started thinking this is some kind of Qlik issue or did someone else find a solution yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 13:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460437#M9400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-09T13:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460438#M9401</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 had the same problem, did you find a solution to this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 15:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460438#M9401</guid>
      <dc:creator>Benbassou</dc:creator>
      <dc:date>2018-01-24T15:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460439#M9402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;No, haven't found one yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 06:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460439#M9402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T06:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460440#M9403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue, seems like a bug. Anyone found a solution yet? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 15:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460440#M9403</guid>
      <dc:creator>andyjalexlive</dc:creator>
      <dc:date>2018-03-14T15:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460441#M9404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue. I'm currently working on an extension where I want to feed Qlik with a value &lt;STRONG&gt;setContent&lt;/STRONG&gt; and get the results string back from a variable using &lt;STRONG&gt;getContent&lt;/STRONG&gt;. &lt;STRONG&gt;getContent&lt;/STRONG&gt; only returns the default value, not the updated one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 08:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460441#M9404</guid>
      <dc:creator>filip_tinglof84</dc:creator>
      <dc:date>2018-03-15T08:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460442#M9405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved it by using a hypercube instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 15:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460442#M9405</guid>
      <dc:creator>filip_tinglof84</dc:creator>
      <dc:date>2018-03-15T15:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460443#M9406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You already have the value in the javascript variable &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;varValue&lt;/EM&gt; which you use the set the Qlik variable, so I am curious why you wish to retrieve the value using Qlik &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;getContent() method into a &lt;SPAN style="font-size: 13.3333px;"&gt;javascript variable when you already have the value in &lt;SPAN style="font-size: 13.3333px;"&gt;the javascript variable &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;varValue&lt;/EM&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460443#M9406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T16:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460444#M9407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Bill &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My case case it's so i can create page state &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) getContent gets the initial value of the variable var1 &lt;/P&gt;&lt;P&gt;2) a button click event then changes the value of the variable var1&amp;nbsp; &lt;/P&gt;&lt;P&gt;3) the user navigates away from the page &lt;/P&gt;&lt;P&gt;4) then i want to call getContent again to get the updated value of var1 for when/if user navigates back to the first page &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460444#M9407</guid>
      <dc:creator>andyjalexlive</dc:creator>
      <dc:date>2018-03-15T16:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460445#M9408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Filip!&lt;/P&gt;&lt;P&gt;Could you please give me a small example on how to do it with a hypercube?&lt;/P&gt;&lt;P&gt;This would help me a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 13:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460445#M9408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-19T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460446#M9409</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;Instead of calling getContent I made a function called getContent ^^.&lt;/P&gt;&lt;P&gt;The only thing it does is creating a table with one dummy dimension and one measure (the variable).&lt;/P&gt;&lt;P&gt;It places the value in an array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;function getContent() {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;app.createCube({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; "qDimensions": [{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "qDef": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "qFieldDefs" : ["Dummy"]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; }],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; "qMeasures": [{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "qDef": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "qDef": "=$(vVariable)",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "qLabel": "Variable"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; }],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; "qInitialDataFetch": [{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qHeight:1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qWidth: 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; }]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;}, function(reply) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$.each(reply.qHyperCube.qDataPages[0].qMatrix, function(index, value) {&lt;/SPAN&gt;&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; var valueArrayText = [];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valueArrayText = this[1].qText;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Do something with the valueArrayText&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&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;});&lt;/SPAN&gt;&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;});&lt;/SPAN&gt;&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;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460446#M9409</guid>
      <dc:creator>filip_tinglof84</dc:creator>
      <dc:date>2018-03-19T14:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460447#M9410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Filip!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 06:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1460447#M9410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T06:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1582228#M10587</link>
      <description>&lt;P&gt;Hi, Filip&lt;/P&gt;&lt;P&gt;I have a similar issue and tried your getContent() method, but still not working.&lt;/P&gt;&lt;P&gt;Below is the link of my posted thread, could you help me where I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-get-Variable-value-when-building-the-mashup/m-p/1582008#M135929" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-get-Variable-value-when-building-the-mashup/m-p/1582008#M135929&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;P&gt;ZZ&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 13:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1582228#M10587</guid>
      <dc:creator>zzyjordan</dc:creator>
      <dc:date>2019-05-20T13:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: app.variable.getContent() doesn't return the current variable value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1746968#M13282</link>
      <description>&lt;P&gt;Hi, thanks for this - I am trying to implement this but whenever I call this function I get "undefined" in the console. I am not too sure what I am doing wrong.....I am not great with Javascript.&lt;/P&gt;&lt;P&gt;In your code where you say "//Do something with the valueArrayText " am I supposed to do something here to make this function output a result ??&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 20:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-app-variable-getContent-doesn-t-return-the-current/m-p/1746968#M13282</guid>
      <dc:creator>nzqlikman</dc:creator>
      <dc:date>2020-09-24T20:38:18Z</dc:date>
    </item>
  </channel>
</rss>

