<?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 Mashup get variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Mashup-get-variable/m-p/72296#M4769</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;&lt;/P&gt;&lt;P&gt;I want to get variable value in mashup.But still failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197154_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alert : always object object.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/197155_1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I refer to the help :&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/VariableAPI/getByName-variable-method.htm" title="https://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/VariableAPI/getByName-variable-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/VariableAPI/getByName-v…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/197156_3.jpg" style="height: 156px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My variable vChange =1,so I want to get 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 11:35:38 GMT</pubDate>
    <dc:creator>wangxusq</dc:creator>
    <dc:date>2018-03-22T11:35:38Z</dc:date>
    <item>
      <title>Mashup get variable</title>
      <link>https://community.qlik.com/t5/App-Development/Mashup-get-variable/m-p/72296#M4769</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;&lt;/P&gt;&lt;P&gt;I want to get variable value in mashup.But still failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197154_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alert : always object object.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/197155_1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I refer to the help :&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/VariableAPI/getByName-variable-method.htm" title="https://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/VariableAPI/getByName-variable-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/VariableAPI/getByName-v…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/197156_3.jpg" style="height: 156px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My variable vChange =1,so I want to get 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 11:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mashup-get-variable/m-p/72296#M4769</guid>
      <dc:creator>wangxusq</dc:creator>
      <dc:date>2018-03-22T11:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup get variable</title>
      <link>https://community.qlik.com/t5/App-Development/Mashup-get-variable/m-p/72297#M4770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at the documentation you refer to, you notice it is returninger a promise, and not a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;Returns a promise of a variable model."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;Searched a bit for you and found this one... maybe it'll help you:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;A href="https://community.qlik.com/thread/287064"&gt;Qlik Sense: app.variable.getContent() doesn't return the current variable value&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;Or this one&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/getContent-variable-method.htm" title="https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/getContent-variable-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/getContent-variable-method.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 14:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mashup-get-variable/m-p/72297#M4770</guid>
      <dc:creator>hacr</dc:creator>
      <dc:date>2018-03-22T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup get variable</title>
      <link>https://community.qlik.com/t5/App-Development/Mashup-get-variable/m-p/72298#M4771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A little later but if anyone need, just change alert to console.log&amp;nbsp; or run this for understand :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #9cdcfe;"&gt;variable&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;getContent&lt;/SPAN&gt;(&lt;SPAN style="color: #ce9178;"&gt;'vChange'&lt;/SPAN&gt;,&lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt; ( &lt;SPAN style="color: #9cdcfe;"&gt;reply&lt;/SPAN&gt; ){&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(reply); // returns [ Object Object ]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(reply.qContent.qString) // returns your variable&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(reply) // returns object in console (F12)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;)};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 16:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mashup-get-variable/m-p/72298#M4771</guid>
      <dc:creator>eduardo_facchio</dc:creator>
      <dc:date>2018-09-04T16:43:08Z</dc:date>
    </item>
  </channel>
</rss>

