Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, how can I get value from promise without specifying the callback function in the creatList method?
When I do like this I don't receive value in the callback...
"qFrequencyMode": "V",
"qDef": {
"qFieldDefs": [
"GroupName"
]
},
"qExpressions": [],
"qInitialDataFetch": [
{
"qHeight": 2000,
"qWidth": 1
}
],
"qLibraryId": null
});
list.then(function(reply, app){
//reply.qListObject is undefined
//app is undefined
})
Hi,
The promise resolves when the object is available on the client. After that data is fetched through getLayout. To get the data you can use the Validated event.
Erik Wetterberg