DEV Community

Cover image for Persist state and settings in Microsoft office add-ins
Dev365
Dev365

Posted on

Persist state and settings in Microsoft office add-ins

The Office JavaScript API provides objects for your add-in to save state across user sessions.
Office js api provides following objects to save state according to user sessions

Office.CustomProperties

Office.CustomXmlParts

Office.RoamingSettings

Office.Settings

Settings office api object is used to store data on the document, workbook, or presentation
CustomXmlParts object is used to store data in a custom XML part of the document or workbook.
CustomProperties and RoamingSettings office api objects are supported MailApp add-ins.data is stored as Data is stored user's Exchange mailbox as key value pair

Top comments (1)

Collapse
 
annadreeva profile image
Анна Дреева

Thanks for the useful article. Even more information on the latest technologies, the most interesting cyber solutions and more can be found at Duplicator Sales.