Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
render.xmlToPdf stopped working?
So, today ... an automation I built just stopped working. More accurately, the render.xmlToPdf function throws a classic unexpected error. (Line 221 is the render.xmlToPdf call)
{"type":"error.SuiteScriptError","name":"UNEXPE CTE D_ERROR","message":null,"stack":["renderXmlToPdf(N/render)","<anonymous>(/SuiteScripts/DH/DH_GeneratePDF.js:211)"],"cause":{"type":"internal error","code":"UNEXPECTED_ERROR","details":null,"u serEvent":null,"stackTrace":["renderXmlToPdf(N/render)","<anonymous>(/SuiteScripts/DH/DH_GeneratePDF.js:211)"],"notifyOff":false},"id":"","notifyOff":false}
This has been working for more than a quarter, so why fail now?
Here's the xmlString I'm passing into the function. The xml itself passes all validations and has no bad characters. And 3 image references resolve fine.