sanity check on what I'm theorycrafting. Our workf...
# suitescript
r
sanity check on what I'm theorycrafting. Our workflow with an external vendor involves printing a Pick Ticket PDF, a Packing Slip PDF, and a custom advanced PDF template. Does the
N/render
API allow me to either render/print them and then join them together into a single PDF that is then sent to the user instead of 3 individual PDF files?
a
Yes it does, but you need to use
pdf set
and files must be rendered individually and available without login on the file cabinet, then you can create a single pdf using those URLs.
r
so basically if I had suitescript doing it 1. render each document to an actual pdf file in the file cabinet 2. use
pdf set
with params as those previous files to generate a new combined pdf, store that int he file cabinet & serve it 3. delete the original individual pdfs
r
If the PDF files are not yet created, you can render as XML then encapsulate them in the
pdfset
👍 1
r
good deal. thanks for the input