If I have something like this in my record.js, the module is Notes
app.drawer.open({
layout: 'create',
context: {
create: true,
module: linkModule,
recParentModel: parentModel,
model: prefill,
recLink: link,
recContext: this.context,
recView: this.view
}
}, _.bind(function (model) {
//get data from model here
}
is there a way to get the savd note ID and DESCRIPTION from 'model'? I have tried everything I know and I cant seem to get back to the record that was created from the opened drawer.