RE: Print a suitelt form
Hi everyone,
I have a suitelet form created with “GET” method and in this form I using form.addButton to add “Print” button and I want to print it as PDF, please advice how can I do this solution ?
you can create a function that triggers when you click on the button. then you can passwhatever data you have in the Suitelet in an xml sting in the function and can use nlapiCreateFile() for 1,0 script or file.create() for 2.0 script to create the PDF file.