Persisting State

There are a number of ways you can persist the state and settings.


SettingsExcel API
 saved in the workbook
 Shared API (Word and PowerPoint)
 saved in the document or presentation
 uses name/value pairs in a property bag
  
RoamingSettingsShared 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
  
CustomPropertiesExcel 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
  
CustomXmlPartExcel API
 saved in the Excel workbook
 also has CustomXmlPartCollection
  
CustomXmlPartsShared API (Word and PowerPoint)
 saved in the document or presentation
 only available to the add-in that created them
  
HTML5 StorageUses browser control storage
 cookies, localStorage, sessionsStorage


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext