Persisting State
There are a number of ways you can persist the state and settings.
Settings | Excel API |
saved in the workbook | |
Shared API (Word and PowerPoint) | |
saved in the document or presentation | |
uses name/value pairs in a property bag | |
RoamingSettings | Shared API (Outlook) |
saved in the users server mailbox | |
only available to the add-in that created them and only from the users mailbox where the add-in is installed. | |
uses name/value pairs in a property bag | |
CustomProperties | Excel API |
saved in the workbook | |
Shared API (Outlook) | |
saved in the message, appointment or meeting | |
only available to the add-in that created them | |
uses name/value pairs in a property bag | |
CustomXmlPart | Excel API |
saved in the Excel workbook | |
also has CustomXmlPartCollection | |
CustomXmlParts | Shared API (Word and PowerPoint) |
saved in the document or presentation | |
only available to the add-in that created them | |
HTML5 Storage | Uses browser control storage |
cookies, localStorage, sessionsStorage |
© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext