Skip to main content
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