<?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: Engine API: CreateChild not visible in app in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204632#M6145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the sheet object there is a full dynamic property called "cells" which is an array of the different sheet objects.&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14781055166479604 jive_text_macro" jivemacro_uid="_14781055166479604" modifiedtitle="true"&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt; "name": "KxdNL",&lt;/P&gt;
&lt;P&gt; "type": "gauge",&lt;/P&gt;
&lt;P&gt; "col": 1,&lt;/P&gt;
&lt;P&gt; "row": 0,&lt;/P&gt;
&lt;P&gt; "colspan": 6,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "rowspan": 4&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to perform some collision detection with the objects already placed on the sheet so they do not occupy the same grid cell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2016 16:54:34 GMT</pubDate>
    <dc:creator>Alexander_Thor</dc:creator>
    <dc:date>2016-11-02T16:54:34Z</dc:date>
    <item>
      <title>Engine API: CreateChild not visible in app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204631#M6144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the Engine API to add a new bar chart to a certain sheet using the CreateChild method. According to the return message, the new object is successfully created and is enlisted in the object list of the sheet when calling ChildInfos on the sheet. The problem is however that the object is not showing up in the actual Qlik Sense app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is: how can I make the new bar chart, which is a part of the sheet, appear in the Qlik Sense app? Is there any visibility setting I should set? And how can I specify where it should be shown on the sheet and with which physical dimensions? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside an extension or in a website integration, this is all rather straightforward as you can include the object directly in the html definitions. &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;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 07:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204631#M6144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T07:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API: CreateChild not visible in app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204632#M6145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the sheet object there is a full dynamic property called "cells" which is an array of the different sheet objects.&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14781055166479604 jive_text_macro" jivemacro_uid="_14781055166479604" modifiedtitle="true"&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt; "name": "KxdNL",&lt;/P&gt;
&lt;P&gt; "type": "gauge",&lt;/P&gt;
&lt;P&gt; "col": 1,&lt;/P&gt;
&lt;P&gt; "row": 0,&lt;/P&gt;
&lt;P&gt; "colspan": 6,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "rowspan": 4&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to perform some collision detection with the objects already placed on the sheet so they do not occupy the same grid cell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 16:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204632#M6145</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-11-02T16:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API: CreateChild not visible in app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204633#M6146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again. I managed to change the cells property and the charts are showing up on the correct position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 07:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204633#M6146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-04T07:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API: CreateChild not visible in app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204634#M6147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you change the Cells property on the Sheet object using engine api?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2017 03:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1204634#M6147</guid>
      <dc:creator>mborsadw</dc:creator>
      <dc:date>2017-10-14T03:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API: CreateChild not visible in app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1571414#M10376</link>
      <description>&lt;P&gt;You can use applyPatches:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
	"handle": 3,
	"method": "ApplyPatches",
	"params": {
		"qPatches": [
			{
				"qOp": "add",
				"qPath": "/cells",
				"qValue": "[{ \"name\": \"MUJjf\", \"type\": \"barchart\", \"col\": 1, \"row\": 0, \"colspan\": 22, \"rowspan\": 3}]"
			}
		],
		"qSoftPatch": false
	},
	"outKey": -1,
	"id": 14
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 14:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1571414#M10376</guid>
      <dc:creator>JFico_Bardess</dc:creator>
      <dc:date>2019-04-19T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API: CreateChild not visible in app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1577921#M10487</link>
      <description>&lt;P&gt;can you share a sample of the json with which you created the bar chart thats can be visible on the sheet ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also can you tell me how to change the dimensions of the same bar chart using applyPatches method?&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 12:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1577921#M10487</guid>
      <dc:creator>nitinsaivishnu1</dc:creator>
      <dc:date>2019-05-08T12:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Engine API: CreateChild not visible in app</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1578009#M10495</link>
      <description>&lt;P&gt;The bar chart was created on the sheet with something like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var apiMsg = {
    "handle": handle,
    "id" : id,
    "method": "CreateChild",
    "params": {
      "qProp": barchartProperties
    }
  };&lt;/LI-CODE&gt;&lt;P&gt;where barchartProperties was queried from the session object using&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var apiMsg = {
    "handle": handle,
    "id": id,
    "method": "GetEffectiveProperties",
    "params": {}
};&lt;/LI-CODE&gt;&lt;P&gt;I don't know how to change the qlik dimensions of the chart, if you mean physical dimensions then that's controlled by rowspan/colspan in the first call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Engine-API-CreateChild-not-visible-in-app/m-p/1578009#M10495</guid>
      <dc:creator>JFico_Bardess</dc:creator>
      <dc:date>2019-05-08T14:31:19Z</dc:date>
    </item>
  </channel>
</rss>

