Name: Excel-Add-in-JavaScript-PersistCustomSettings
Owner: Office Developer
Description: This sample demonstrates how to save custom settings in an Excel Add-in. The add-in stores data as key/value pairs, using the JavaScript API for Office property bag, browser cookies, web storage (localStorage and sessionStorage), or by storing the data in a hidden div in the document.
Created: 2015-08-12 23:25:41.0
Updated: 2017-06-10 20:09:21.0
Pushed: 2018-01-31 20:32:20.0
Size: 1241
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Table of contents
This sample demonstrates how to save custom settings inside an Excel Add-in. The add-in stores data as key/value pairs, using the JavaScript API for Office property bag, browser cookies, web storage (localStorage and sessionStorage), or by storing the data in a hidden div in the document. The add-in also demonstrates best practices for implementing multiple-page navigation in an add-in for Office.
This sample requires the following:
The Persist custom settings sample add-in contains the following notable files:
The CodeSample_PersistCustomSettings project, including:
If the add-in fails to install, ensure that the SourceLocation element in the CodeSample_PersistCustomSettings.xml has the correct URL value for the DefaultValue attribute.
Copyright (c) 2015 Microsoft. All rights reserved.
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.