Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 (2)
0 Replies