Toggle navigation Explore Why Office? Office UI Fabric Microsoft Graph Better with Office Go To Market Industry Verticals Business Platform Products Word Excel PowerPoint Outlook OneDrive OneNote SharePoint Skype Access Project Yammer Microsoft Teams Technology Android ASP .NET iOS JavaScript Node.js PHP (coming soon) Python (coming soon) Ruby (coming soon) Getting Started Code Samples Resources Patterns and Practices Events Podcasts Training Graph Explorer Videos Documentation Office Add-ins Office Add-in Availability Microsoft Graph API Office 365 Connectors Office 365 REST APIs SharePoint Add-ins SharePoint Framework Office UI Fabric Submit to the Office Store All Documentation
All DocumentationOffice Add-insOffice Add-ins docs All DocumentationOffice Add-insOffice Add-ins API Reference All DocumentationSharePointSharePoint Framework Filter by Product Word Excel Outlook OneNote PowerPoint Project Access Visio Preview V1.5 V1.4 V1.3 V1.2 V1.1 Manifest AllowSnapshot AlternateId AppDomain AppDomains CitationText DefaultLocale DefaultSettings Description DesktopSettings Dictionary DictionaryHomePage DictionaryName DisableEntityHighlighting DisplayName Form FormSettings HighResolutionIconUrl Host Hosts IconUrl Id Method Methods OfficeApp Override Permissions PhoneSettings ProviderName QueryUri RequestedHeight RequestedWidth Requirements Rule Set Sets SourceLocation SupportUrl TabletSettings TargetDialect TargetDialects Version VersionOverrides Action Control CustomTab Event ExtensionPoint DesktopFormFactor FunctionFile GetStarted Group Hosts Icon MobileFormFactor OfficeMenu OfficeTab Resources Scopes SuperTip WebApplicationInfo Word Body BreakType ContentControl ContentControlCollection Document Error Font InlinePicture InlinePictureCollection LoadOption Paragraph ParagraphCollection Range RequestContext SearchOptions SearchResultCollection Section SectionCollection Word JavaScript API requirement sets Excel Application Binding BindingCollection BindingDataChangedEventArgs BindingSelectionChangedEventArgs Chart ChartAreaFormat ChartAxes ChartAxis ChartAxisFormat ChartAxisTitle ChartAxisTitleFormat ChartCollection ChartDataLabelFormat ChartDataLabels ChartFill ChartFont ChartGridlines ChartGridlinesFormat ChartLegend ChartLegendFormat ChartLineFormat ChartPoint ChartPointFormat ChartPointsCollection ChartSeries ChartSeriesCollection ChartSeriesFormat ChartTitle ChartTitleFormat ColorScaleConditionalFormat ConditionalCellValueRule ConditionalColorScaleCriteria ConditionalColorScaleCriterion ConditionalDatabarNegativeFormat ConditionalDatabarPositiveFormat ConditionalDataBarRule ConditionalFormat ConditionalFormatCollection ConditionalFormatRule ConditionalIconCriterion ConditionalPresetCriteriaRule ConditionalRangeBorder ConditionalRangeborderCollection ConditionalRangeFill ConditionalRangeFont ConditionalRangeFormat ConditionalTextComparisonRule ConditionalTopBottomRule CustomConditionalFormat CustomXmlPart CustomXmlPartCollection CustomXmlPartScopedCollection DatabarConditionalFormat Filter FilterCriteria FilterDatetime FormatProtection Icon IconSetConditionalFormat NamedItem NamedItemCollection PivotTable PivotTableCollection PresetCriteriaConditionalFormat Range RangeBorder RangeBorderCollection RangeFill RangeFont RangeFormat rangereference RangeSort RangeView RangeViewCollection SelectionChangedEventArgs Setting SettingCollection SettingsChangedEventArgs Sortfield Table TableCollection TableColumn TableColumnCollection TableRow TableRowCollection TableSort TextConditionalFormat TopBottomConditionalFormat Workbook Worksheet WorksheetCollection WorksheetFunctions WorksheetProtection worksheetprotectionoptions Outlook Understanding API requirement sets Preview Requirement Set Object Models Office Office.context Office.context.mailbox.diagnostics Office.context.mailbox Office.context.mailbox.item Office.context.mailbox.userProfile Complex Types Body CustomProperties Event Location NotificationMessages Recipients RoamingSettings Subject Time Simple Types Enumerations Requirement Set 1.5 Object Models Office Office.context Office.context.mailbox.diagnostics Office.context.mailbox Office.context.mailbox.item Office.context.mailbox.userProfile Complex Types Body CustomProperties Event Location NotificationMessages Recipients RoamingSettings Subject Time Simple Types Enumerations Requirement Set 1.4 Object Models Office Office.context Office.context.mailbox.diagnostics Office.context.mailbox Office.context.mailbox.item Office.context.mailbox.userProfile Complex Types Body CustomProperties Event Location NotificationMessages Recipients RoamingSettings Subject Time Simple Types Enumerations Requirement Set 1.3 Object Models Office Office.context Office.context.mailbox.diagnostics Office.context.mailbox Office.context.mailbox.item Office.context.mailbox.userProfile Complex Types Body CustomProperties Event Location NotificationMessages Recipients RoamingSettings Subject Time Simple Types Enumerations Requirement Set 1.2 Object Models Office.context Office.context.mailbox Office.context.mailbox.diagnostics Office.context.mailbox.item Office.context.mailbox.userProfile Complex Types Body CustomProperties Location Recipients RoamingSettings Subject Time Simple Types Enumerations Requirement Set 1.1 Object Models Office.context Office.context.mailbox Office.context.mailbox.diagnostics Office.context.mailbox.item Office.context.mailbox.userProfile Complex Types Body CustomProperties Location Recipients RoamingSettings Subject Time Simple Types Enumerations OneNote Application Error Notebook Notebookcollection Page Pagecollection Pagecontent Pagecontentcollection Paragraph Paragraphcollection Richtext Section Sectioncollection Sectiongroup Sectiongroupcollection Outline Image OneNote JavaScript API requirement sets Visio Application BoundingBox Comment CommentCollection DataRefreshCompleteEventArgs Document DocumentView Highlight Hyperlink HyperlinkCollection LoadOption Page PageCollection PageLoadCompleteEventArgs PageView Position Selection SelectionChangedEventArgs Shape ShapeCollection ShapeDataItem ShapeDataItemCollection ShapeMouseEnterEventArgs ShapeMouseLeaveEventArgs ShapeView Shared API JavaScript API for Office What's changed in the JavaScript API for Office Office common requirement sets Dialog API requirement sets Identity API requirement sets Add-in command requirement sets JavaScript API for Office error codes Enumerations ActiveView enumeration AsyncResultStatus enumeration BindingType enumeration CoercionType enumeration CustomXMLNodeType enumeration DocumentMode enumeration EventType enumeration FileType enumeration FilterType enumeration GoToType enumeration HostType enumeration InitializationReason enumeration PlatformType enumeration ProjectProjectFields enumeration ProjectResourceFields enumeration ProjectTaskFields enumeration ProjectViewTypes enumeration SelectionMode enumeration Table enumeration ValueFormat enumeration AsyncResult AsyncResult.asyncContext AsyncResult.error AsyncResult.status AsyncResult.value Context office.context office.context.commerceAllowed office.context.contentLanguage office.context.displaylanguage office.context.touchEnabled office.context.officetheme office.context.bodyBackgroundColor office.context.bodyForegroundColor office.context.controlbackgroundcolor office.context.controlforegroundcolor office.context.document office.context.mailbox office.context.roamingsettings Binding Binding.addHandlerAsync Binding.bindingDataChanged event Binding.bindingSelectionChanged event columnCount rowCount startColumn startRow document getDataAsync id type MatrixBinding rowcount columnCount removeHandlerAsync setDataAsync TableBinding addColumnsAsync addRowsAsync clearFormatsAsync columnCount deleteAllDataValuesAsync hasHeaders rowCount setFormatsAsync setTableOptionsAsync TextBinding Bindings addFromNamedItemAsync addFromPromptAsync addFromSelectionAsync document getAllAsync getByIdAsync releaseByIdAsync CustomXmlNode baseName getNodesAsync getNodeValueAsync getTextAsync getXmlAsync namespaceUri nodeType setNodeValueAsync setTextAsync setXmlAsync CustomXmlPart addHandlerAsync builtIn deleteAsync getNodesAsync getXmlAsync id isUndoRedo namespaceManager newNode nodeDeleted event nodeInserted event nodeReplaced event oldNextSibling oldNode removeHandlerAsync CustomXmlParts addAsync getByIdAsync getByNamespaceAsync CustomXmlPrefixMappings addNamespaceAsync getNamespaceAsync getPrefixAsync Document ActiveViewChanged event addHandlerAsync bindings customXmlParts getActiveViewAsync getFileAsync getFilePropertiesAsync getselecteddataasync goToByIdAsync mode removeHandlerAsync selectionChanged event setSelectedDataAsync settings url Error error.code error.message error.name File closeAsync getSliceAsync size sliceCount Office cast.item initialize event select useShortNamespace ProjectDocument addHandlerAsync getMaxResourceIndexAsync getMaxTaskIndexAsync getProjectFieldAsync getResourceByIndexAsync getResourceFieldAsync getSelectedDataAsync getSelectedResourceAsync getSelectedTaskAsync getSelectedViewAsync getTaskAsync getTaskByIndexAsync getTaskFieldAsync getWSSUrlAsync removeHandlerAsync ResourceSelectionChanged event setResourceFieldAsync setTaskFieldAsync TaskSelectionChanged event ViewSelectionChanged event Settings addHandlerAsync get refreshAsync removeHandlerAsync remove saveAsync set settingsChanged event settings.settingschangedeventargs settings type Slice data index size TableData headers rows event.completed event.source.id Office UI Dialog object closeContainer method displayDialog method messageParent method Dialog API requirement sets Open specifications Edit in GitHub Id element Specifies the unique ID of your Office Add-in as a GUID. Add-in type: Content, Task pane, Mail Syntax: <Id>string </Id> Contained in: OfficeApp