Error Parsing XML: //5409310-sb1.app.netsuite.com/...
# ask-stanley-ai
r
Error Parsing XML: //5409310-sb1.app.netsuite.com/core/media/media.nl?id=3312752&c=5409310_SB1&h=q3nOC3Ykz-zrtTmEv70f1YkNXH0jyFzNvhnVJDgk9ASIvfcQ&_xt=.pdf
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems like the user is trying to merge PDFs using XML in NetSuite SuiteScript 2.0. They are encountering parsing errors when trying to load a PDF file from the file cabinet. The error message they are getting is "Error Parsing XML: //system.netsuite.com/core/media/media.nl?id=16977&c=4495526_SB1&h=ee648509acf5071e3627&_xt=.pdf". The user was advised to ensure that the PDF files are 'Available without Login' and to use the full path of the PDF, not the relative path. They were also advised to use the correct type of quotes around the PDF URLs and to parse the
&
character to
&
using the 'N/xml' module. However, after trying these suggestions, the user reported that the method still didn't work. They contacted NetSuite support and were informed that merging PDFs with the
<pdf src>
tags is not currently supported in SuiteScript 2.0, and that an enhancement request has already been submitted. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849188685
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847191572
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843783796
Please provide your feedback on this answer.