AnsweredAssumed Answered

Get data from a Drawer

Question asked by Kenneth Brill on Apr 17, 2019
Latest reply on Apr 18, 2019 by Kenneth Brill

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.

Outcomes