AnsweredAssumed Answered

Call print pdf action from record js

Question asked by sidhu sidhu on Jan 10, 2017
Latest reply on Jan 11, 2017 by sidhu sidhu

Hi All,

 

        I need to call this action to print a pdf on clicking button on the record view

#bwc/index.php?module=crmas&record="+this.model.id+"&action=sugarpdf&sugarpdf=crmasvol

 

 

this.context.on('button:pdf_button:click', this._getPdf, this);

 

_getPdf:function()

{

 

??what can i do here such that the pdf downloads.

 

}

 

Please suggest me ideas David López Mehul  Bhandari Bhavin Patel i am in 7x

 

Regards

Sidhu

Outcomes