<?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 object.getLayout returns the definition not the object in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/object-getLayout-returns-the-definition-not-the-object/m-p/1674512#M12314</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Enigma and the engine api to create a web app but i'm stuck because of the following problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first console.log returns an Object and Properties but when i call&amp;nbsp;this.data.object.getLayout().then(layout =&amp;gt; and console log layout it doesn't return the Object and the data but instead it returns the qHypercubeDef&lt;/P&gt;&lt;P&gt;Does anyone know why i'm not getting the object?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;console.log(this.data);&lt;/P&gt;&lt;P&gt;this.data.object.getLayout().then(layout =&amp;gt; {&lt;BR /&gt;this.layout = layout&lt;BR /&gt;console.log(layout)&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getLayour error.PNG" style="width: 599px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28277i53E3DC9033B5EA2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="getLayour error.PNG" alt="getLayour error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:18:07 GMT</pubDate>
    <dc:creator>andyjalexlive</dc:creator>
    <dc:date>2024-11-16T03:18:07Z</dc:date>
    <item>
      <title>object.getLayout returns the definition not the object</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/object-getLayout-returns-the-definition-not-the-object/m-p/1674512#M12314</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Enigma and the engine api to create a web app but i'm stuck because of the following problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first console.log returns an Object and Properties but when i call&amp;nbsp;this.data.object.getLayout().then(layout =&amp;gt; and console log layout it doesn't return the Object and the data but instead it returns the qHypercubeDef&lt;/P&gt;&lt;P&gt;Does anyone know why i'm not getting the object?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;console.log(this.data);&lt;/P&gt;&lt;P&gt;this.data.object.getLayout().then(layout =&amp;gt; {&lt;BR /&gt;this.layout = layout&lt;BR /&gt;console.log(layout)&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getLayour error.PNG" style="width: 599px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28277i53E3DC9033B5EA2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="getLayour error.PNG" alt="getLayour error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/object-getLayout-returns-the-definition-not-the-object/m-p/1674512#M12314</guid>
      <dc:creator>andyjalexlive</dc:creator>
      <dc:date>2024-11-16T03:18:07Z</dc:date>
    </item>
  </channel>
</rss>

