
Contributor III
2020-02-11
12:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
})
591 Views
0 Replies
