RE: How to link Advance PDF to print Button via scripts

Dear Community member

Please can anyone help how to link Advance PDF to print Button via scripts?

Best Regards

fharrache2003 Rookie Asked on February 11, 2021 in Order Management.
Add Comment
2 Answers

Your options are to add a print button to the form using Form.addButton from a user event script before load entry point or Custom Action on your record’s form.

The pure suitescript option would have you open a new window to a suitelet that writes a file generated via N/render. If you are willing to go through the javascript of netsuite’s print button, you can probably figure out how it generates the url to do its printing and generate that url yourself instead of making your own suitelet. I personally would expect making your own suitelet to to be easier that going through NetSuite’s code.

Advanced Answered on February 12, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.