Skip to content Skip to sidebar Skip to footer

Office Js Custom Xml

I am trying to implement Custom XML parts feature in Office js. While creating custom XML part in Excel, I am getting a GeneralException while adding the XML part in workbook. I a

Solution 1:

Thanks for bringing this issue to our attention! I was able to repro the behavior on a blank workbook against excel.exe. It is due to a bug that we will try to fix in the nearest future. Sorry for the inconvenience. Please stay tuned for Excel updates.

Solution 2:

There is no size limitation as such. I'd recommend the following:

  1. Try with smaller number of rows.

  2. Make sure the final XML is valid (you could use online validation tool to make sure there are no special characters, etc. that's giving the error). Ideally the API should tell you if the XML is invalid... but worth double-checking.

  3. Is this happening only when you encode? Try using just regular string concatenation for the sake of testing. Please let us know where it fails in above tests.

Post a Comment for "Office Js Custom Xml"