Adding large content to CustomXMLParts should work fine
Adding large content triggers error, and content could not be Added.
We need to store images base64 content to CustomXMLPart
@hxltinh can you please provide the XML part you are tryin to insert?
is not clear in what in what platforms you are trying this.... is this on Word ONline, Excel Online? )you mention firefox so I am assuming online)
@JuaneloJuanelo word, excel are working ok, it happens only in Office Online, that's why we would like to have it fixed on Office Online.
My repo should explain very well this bug. Just try on Chrome to see how it works (app/index.html for quick view).
<root xmlns="${xmlns}"><item>${loadedBase64Image}</item></root>
I will update my issue to make thing clearer, hope it helps.
@hxltinh quick question: what is the size of the XML you are trying to insert?
@JuaneloJuanelo It's about form 700KB to 30MB and further. Hope it helps
@weshi should be able to investigate further... specially interesting that it works in Firefox.
anyways in online i think there is a limit on what we support, something we would have to document.
@AlexJerabek just a quick note to document this once @weshi finishes the investigation. thanks.
Thanks @JuaneloJuanelo. @weshi, please let me know when you have the requested information and I'll transfer the issue to the office-js-docs-pr repo.
@weshi, Do you have any updates on the investigation?
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
Please ignore the previous message from msftbot. The Needs: author feedback label was incorrectly applied to this issue; I've removed that label and this issue is no longer marked as stale.
Pinging @weshi for updates. Until the investigation is completed and there is information for the doc update, I'm going to un-assign myself from this issue. Please reassign me once progress has been made.
There is size limit for Office Online. What's the size of the content you are trying to add?
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
@weshi we meet this problem when adding base 64 image content, even larger than 30MB.
@weshi What are the size limitations for Office online? We need to have the doc team add this info. Please let me know how to follow up with this issue.