


I take these invoices, render some of them in the Word doc, and then do some visual analysis in the task pane on data from the rest - where the user can write (and save) notes back into the Custom XML Parts (into that invoice that they are looking at). I'm writing an add-in, whereby I need to persist some data outside of the visible document, but inside of the docx file.Īs an example, I am storing a list of invoices (maybe 100-200 invoices), each of which have the typical structured data (name, id, dates, list of work items) and a freestyle notes section which can contain up to 5-10kb of text, instructions, etc etc. I was wondering if there were any guidelines or best practices in terms of how to use CustomXMLParts in order to maximize read/write performance, or if there is an 'ideal' way to model data in the XML parts for the same purpose.
