Hi,I am trying to put logo into header and footer of a pdf form generated from BFO. But I am getting error :1.xml += "<IMG SRC="https://system.netsuite.com/core/media/media.nl?id=231amp;c=3544661&h=718d86b5a9257286b57d">";"Error Parsing XML: The reference to entity "c" must end with the ';' delimiter.".2.xml += "<docFileCab:url>/images/Footer.jpg</docFileCab:url>";"Error Parsing XML: url" is not bound."Below are the code how I set the header and footer image.//build up BFO-compliant XML using well-formed HTMLvar xml = "<?xml version="1.0"?>n<!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">";xml += "<pdf>n";xml += "<head>";xml += "<macrolist>";xml += "<macro id="myheader">";xml += "<p align="center">";xml += "<IMG SRC="https://system.netsuite.com/core/media/media.nl?id=231amp;c=3544661&h=718d86b5a9257286b57d">";//xml += "<docFileCab:url>/images/Header_Carsurin.jpg</docFileCab:url>";xml += "</p>";xml += "</macro>";xml += "<macro id="myfooter">";xml += "<p align="center">";xml += "<IMG SRC="https://system.netsuite.com/core/media/media.nl?id=232amp;c=3544661&h=f89b77663a5765b8fd88\">";//xml += "<docFileCab:url>/images/Footer.jpg</docFileCab:url>";xml += "</p>";xml += "</macro>";xml += "</macrolist>";xml += "</head>";xml += "<body font-size=\"12\" header=\"myheader\" header-height=\"20mm\" footer=\"myfooter\" footer-height=\"20mm\">";//xml += "<body font-size=\"12\">";xml += "<p align=\"center\"><h3>PURCHASE ORDER</h3></p>";xml += strName; xml += "</body>\n</pdf>";
It looks like you are new here. Sign in to continue.
Turn 2026 performance into more informed plans and clearer board reporting Year-end reporting and annual planning are closely connected for software finance teams. Leaders need to understand 2026 financial results and SaaS KPIs, explain the factors behind performance, and translate those insights into credible budgets and…
In this Ask A Guru Live, our Guru, Clarisa De Torres, will be answering your questions about Advanced Accounting. RSVP now on this event that will be held on November 25, 2026 at 1:00 PM - 2:00 PM ET.
Experience NetSuite firsthand B Ocean Resort Fort Lauderdale Beach, 1140 Seabreeze Blvd, Fort Lauderdale, FL 33316 See how NetSuite can help your business gain visibility, streamline operations, and scale with confidence. Join us for an interactive event where you'll experience NetSuite firsthand through a hands-on…
Drive better outcomes with AI built into NetSuite Next B Ocean Resort Fort Lauderdale Beach,1140 Seabreeze Blvd, Fort Lauderdale, FL 33316 Join NetSuite experts for a free half-day event where you'll get a tour of NetSuite Next, explore AI-powered capabilities built into the platform, and learn practical ways to optimize…