I am trying to render suitelet page as a PDF. Can we call suitelet URL in advanced pdf template and show suitelet design as a pdf. How it can be possible?
I am currently trying in sales order advanced pdf template.
If you are trying to render a PDF that you've created with an N/render
method (or loaded from the file cabinet) then you would write the file
context.response.writeFile({file:renderedPDF, isInline: true}); // or isInline: false to try to force a download
If you are trying to submit a Suitelet page for review/approval to someone who doesn't have access to your NetSuite account then you can print the page. Windows has a built-in 'print to PDF' driver. It will be one of your printers. If you are on Linux you may have that as well or can install it.