Hello Everyone, while open the pdf template using ...
# suiteflow
a
Hello Everyone, while open the pdf template using suitelet, I got an error. {"type":"error.SuiteScriptError","name":"USER_ERROR","message":"Error Parsing XML: The reference to entity \"c\" must end with the ';' delimiter.","stack":["createError(N/error)","onRequest(/zSuiteScripts/OpenPDF.js:24)"],"cause":{"type":"internal error","code":"USER_ERROR","details":"Error Parsing XML: The reference to entity \"c\" must end with the ';' delimiter.","userEvent":null,"stackTrace":["createError(N/error)","onRequest(/zSuiteScripts/OpenPDF.js:24)"],"notifyOff":false},"id":"","notifyOff":false,"userFacing":false} How can I solve this?
n
Most likely there's something wrong with your template.. check out this SOF thread: https://stackoverflow.com/questions/6483807/the-reference-to-entity-foo-must-end-with-the-delimiter
n
I suspect you have an ampersand in there that's causing you the issue. Are you by any chance referencing a url in the template either hard coded or referenced in a field value?
@AB as an aside this probably isn't the correct channel for this question. 😉
👍 1
175 Views