AnsweredAssumed Answered

HOW TO create record view button which like quick create button

Question asked by tachi06092 on Mar 9, 2016

I have added a "create related module record " button in the record view but I want to open a quick create view after clicking button like subpanel's create button.


I find a function called "createRelatedRecord" in ".\clients\base\views\panel-top\panel-top.js" file.

createRelatedClicked: function(event) {



It seems a function to open quick create view but the function is undefined when I use it in ".\custom\modules\Accounts\clients\base\views\record\record.js".




    extendsFrom: 'AccountsRecordView',



    initialize: function (options) {

        //app.view.invokeParent(this, {type: 'view', name: 'record', method: 'initialize', args:[options]});




  create_relate_module: function() {

  var linkName = 'contacts';




How can I call this function in record.js ? or there are other method to create a button which can create related module record?