ANS-0730 · PRINTING, PDF & EMAIL TEMPLATES

How to Resolve ‘Error Parsing XML’ When Adding Images to NetSuite BFO PDFs?

Ensure image files embedded in NetSuite BFO PDF templates are publicly accessible to prevent 'Error Parsing XML'.

Short answer

To resolve the 'Error Parsing XML' when adding images to a NetSuite BFO PDF, ensure the image file is publicly accessible. This requires checking the 'available w/o login' checkbox on the file's page within NetSuite. This action allows the BFO PDF renderer to correctly parse the image.

Scenario

Users may encounter an 'Error Parsing XML' message when attempting to add `` tags to a NetSuite BFO PDF template. This error typically occurs when the BFO PDF renderer cannot properly access or interpret the image file referenced within the XML structure, preventing the image from being displayed in the generated PDF.

Solution

To resolve the 'Error Parsing XML' when adding tags to a BFO PDF, the image file must be made publicly accessible.

  1. Navigate to the specific file's page within NetSuite.

  2. Locate and check the 'available w/o login' checkbox.This action ensures that the BFO PDF renderer can access the image file without requiring a user login, thereby allowing it to correctly parse the XML and display the image in the generated PDF.

Expert NetSuite Support

Need help with this NetSuite issue?

Printing, PDF & Email Templates consulting and configuration support

Talk to a consultant