<?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 - Retrieve text from text &amp; image object embedded in mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909280#M3192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting very close as I am able to modify an extension using the applyPatches method.&amp;nbsp; The only problem is that for a text and image object, I am not sure on the value I need to use for the "qPath" component.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using chrome inspect element, I can see that my text value is being stored under VisualisationObject --&amp;gt; layout --&amp;gt; markdown.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 00:38:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-07T00:38:23Z</dc:date>
    <item>
      <title>Qlik Sense - Retrieve text from text &amp; image object embedded in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909278#M3190</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 currently have a text and image object embedded in my mashup.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94902_Capture.PNG" style="height: 258px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;My goal is to retrieve the text value from the text and image object and insert it into a prompt box so that a user can change the text and feed it back into the Qlik object.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This post is highly relevant but is unfortunately directed towards Qlik View instead of Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/163698"&gt;GetText from TextBox via Javascript API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints/tips will be highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 07:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909278#M3190</guid>
      <dc:creator />
      <dc:date>2015-08-04T07:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Retrieve text from text &amp; image object embedded in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909279#M3191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joel,&lt;/P&gt;&lt;P&gt;the best way to get the data is to use the model. Code snippet for this:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14387016834524230" jivemacro_uid="_14387016834524230" modifiedtitle="true"&gt;
&lt;P&gt;app.getObject('QV01','xCfgTh').then(function(model){&lt;/P&gt;
&lt;P&gt; //data will be in model.layout&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //if you want to be notified when data changes, you can use the Validated notification:&lt;/P&gt;
&lt;P&gt; model.Validated.bind(function(){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; //updated data in this.layout&lt;/P&gt;
&lt;P&gt; });&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To actually modify the text you would use the applyPatches(patches, softPatch) method, also available on the model object. The softpatch parameters allows you to make changes that are only temporary and do not affect other users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I showed this at Qonnections, and the demo I used then is available at &lt;A href="http://branch.qlik.com/projects/showthread.php?520-Qonnections-mashup"&gt;Qlik Branch&lt;/A&gt;.&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>Tue, 04 Aug 2015 15:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909279#M3191</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-08-04T15:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Retrieve text from text &amp; image object embedded in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909280#M3192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting very close as I am able to modify an extension using the applyPatches method.&amp;nbsp; The only problem is that for a text and image object, I am not sure on the value I need to use for the "qPath" component.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using chrome inspect element, I can see that my text value is being stored under VisualisationObject --&amp;gt; layout --&amp;gt; markdown.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 00:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909280#M3192</guid>
      <dc:creator />
      <dc:date>2015-08-07T00:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Retrieve text from text &amp; image object embedded in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909281#M3193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joel,&lt;/P&gt;&lt;P&gt;Try with '/markdown'. Not that a string value needs to be enclosed in ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Please mark the appropriate replies as correct or helpful so our team and other members know that your question has been answered to your satisfaction.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 06:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909281#M3193</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-08-07T06:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Retrieve text from text &amp; image object embedded in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909282#M3194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again Erik.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 01:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-Retrieve-text-from-text-image-object-embedded-in/m-p/909282#M3194</guid>
      <dc:creator />
      <dc:date>2015-08-10T01:01:49Z</dc:date>
    </item>
  </channel>
</rss>

