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

Persist state and settings in Microsoft office add-ins

dev365 profile image Dev365 ・1 min read

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

Discussion

pic
Editor guide