<?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 Sense Extension - Retrieve and paint object based on Object Id in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Extension-Retrieve-and-paint-object-based-on-Object-Id/m-p/1117159#M5118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to extensions and have been experimenting and I am hoping there is a easy solution to my question.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is to render an existing object to the sheet based on that object's id.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have coded up a simple extension that will take in a object id as a parameter, I can programmatically retrieve the object Id but I can't figure out how to render it to the screen in the underlying java script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 14:27:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-16T14:27:15Z</dc:date>
    <item>
      <title>Sense Extension - Retrieve and paint object based on Object Id</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Extension-Retrieve-and-paint-object-based-on-Object-Id/m-p/1117159#M5118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to extensions and have been experimenting and I am hoping there is a easy solution to my question.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is to render an existing object to the sheet based on that object's id.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have coded up a simple extension that will take in a object id as a parameter, I can programmatically retrieve the object Id but I can't figure out how to render it to the screen in the underlying java script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Extension-Retrieve-and-paint-object-based-on-Object-Id/m-p/1117159#M5118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T14:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sense Extension - Retrieve and paint object based on Object Id</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Extension-Retrieve-and-paint-object-based-on-Object-Id/m-p/1117160#M5119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So to answer my own question..&amp;nbsp; leverage the App API: &lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #f4f4f4;"&gt;qlik.app.getObject(elem, id, options)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Snippet highlighting key elements&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14716281914843609 jive_text_macro" jivemacro_uid="_14716281914843609" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #f4f4f4;"&gt;var html = "&amp;lt;div id='vizId' style=...&amp;gt;&amp;lt;/div&amp;gt;";&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #f4f4f4;"&gt;var app = qlik.currApp(this);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #f4f4f4;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #f4f4f4;"&gt;app.getObject( "vizId", objectId );&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #f4f4f4;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #f4f4f4;"&gt;$element.html( html );&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More can be found here: &lt;A href="https://help.qlik.com/en-US/sense-developer/3.0/Content/APIs-and-SDKs.htm" title="https://help.qlik.com/en-US/sense-developer/3.0/Content/APIs-and-SDKs.htm"&gt;API Reference&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 17:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Extension-Retrieve-and-paint-object-based-on-Object-Id/m-p/1117160#M5119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-19T17:46:43Z</dc:date>
    </item>
  </channel>
</rss>

