function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AkshaySFDCAkshaySFDC 

sdocs docx template issue

while uploading the s-docs Docx template I have been receiving error

Line 15: Failed to parse XML due to: processing instruction can not have PITarget with reserveld xml name (position: TEXT seen ...<FILE_BODY_SDOCS>\ufeff<?xml ... @1:117) (SDOC)
Error is in expression '{!writeDocumentData}' in page sdoc:sdcreate3: (SDOC)

An unexpected error has occurred. Your solution provider has been notified. (SDOC)

 

 

AnudeepAnudeep (Salesforce Developers) 
Hi Akshay - This appears to be an issue with Malformed XML. Similar issues like this reported in the past say that this happens when there are leading whitespaces in the xml. I recommend reaching out to SDOC support