Skip to main content

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Welcome to Qlik Community! Check out our new navigation! FIND OUT MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
andyjalexlive
Contributor III
Contributor III

object.getLayout returns the definition not the object

Hi 

I'm using Enigma and the engine api to create a web app but i'm stuck because of the following problem 

The first console.log returns an Object and Properties but when i call this.data.object.getLayout().then(layout => and console log layout it doesn't return the Object and the data but instead it returns the qHypercubeDef

Does anyone know why i'm not getting the object?

 

Many thanks

 

code:

console.log(this.data);

this.data.object.getLayout().then(layout => {
this.layout = layout
console.log(layout)
})

 

getLayour error.PNG

 

 

Labels (4)
0 Replies