Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
generating a pdf with an internal-img using nlapiXMLToPDF
hi
i'm trying to use nlapiXMLToPDF to generate my pdf file.
problem
if i used for img a http:\blablubbbpic.jpg it works
i need the company pic out of netsuite but these url contains &c... (see code 'imgurl')
and it occures an error while parsing:
Fehler beim Lesen von XML: The reference to entity "c" must end with the ';' delimiter.
code sample
var xml = '&lt;?xml version="1.0"?&gt;n&lt;!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd"&gt;n&lt;pdf&gt;n&lt;body width="101mm" height="38mm" margin="1" padding="1" font-size="6"&gt;n'; var <strong>imgurl </strong>= '<strong> 0