Embedding a PDF in an Advanced PDF Template in NetSuite  

in , October 18th, 2024

Embedding a PDF in an Advanced PDF Template within NetSuite can enhance the customization of generated documents. This allows users to display or include external PDFs directly within their templates, streamlining the document creation process.

Step 1: Upload the PDF to the File Cabinet

Navigate to the file cabinet in NetSuite.

Upload your PDF file.

After uploading, edit the file and check the option labeled “available without login” to ensure that the PDF will display correctly.

Step 2: Copy the PDF URL

Once the file is uploaded, copy the URL from the URL field.

Step 3: Open the Advanced PDF Template

If the template opens in the WYSIWYG editor, switch to viewing the source code. This will allow you to make the necessary edits to embed the PDF.

Add the following tags within the code:

  • On line two, insert: <pdfset> (If any extra tags are automatically generated, delete them).

Step 4: At the end of the code, create a new line and insert: </pdfset>

Between the last two lines (</pdf> and </pdfset>), insert a new line with the following: <pdf_src="insert URL copied from file cabinet file" />

Ensure that any ampersands (&) in the URL are replaced with the HTML code for the ampersand: &amp;.

Step 5: View the Updated Template

After completing these steps, you can now view the modified PDF in the template and confirm that the embedded PDF is displaying correctly.

Want to learn more about NetSuite PDFs? Check out our FREE course on working with NetSuite Advanced PDF Templates.

Author: Ben Althoff


Got stuck on a step in this article?

We like to update our blogs and articles to make sure they help resolve any troubleshooting difficulties you are having. Sometimes, there is a related feature to enable or a field to fill out that we miss during the instructions. If this article didn't resolve the issue, please use the chat and let us know so that we can update this article!

Oracle NetSuite Alliance Partner & Commerce Partner

If you have general questions about NetSuite, SuiteCommerce or more specific questions about how our team can support your business as you implement these solutions, feel free to contact us anytime. Anchor Group is a certified Oracle NetSuite Alliance Partner and Commerce Partner equipped to handle all kinds of NetSuite and SuiteCommerce projects, large or small!

 
 

Want to keep learning?

Our team of NetSuite professionals has written articles on a wide variety of NetSuite topics, from SuiteCommerce tips, to recommended NetSuite solutions, to available support services, and more! 

Your cart