Explicit Inclusion
The following methods in the JavaScript API for Office aren't part of a requirement set.
If your add-in requires any of these methods, use the Methods and Method elements in the add-in's manifest to declare that they are required, or perform the runtime check using an if statement.
For more information, see Specify Office hosts and API requirements.
Method | Office Host Supported |
Bindings.addFromPromptAsync | Access web apps, Excel, and Excel Online |
Document.getFilePropertiesAsync | Excel, Excel Online, Word, Word Online, PowerPoint and PowerPoint Online |
Document.getProjectFieldAsync | Project Standard 2013 and Project Professional 2013 |
Document.getResourceFieldAsync | Project Standard 2013 and Project Professional 2013 |
Document.getSelectedResourceAsync | Project Standard 2013 and Project Professional 2013 |
Document.getSelectedTaskAsync | Project Standard 2013 and Project Professional 2013 |
Document.getSelectedViewAsync | PowerPoint and PowerPoint Online |
Document.getTaskAsync | Project Standard 2013 and Project Professional 2013 |
Document.getTaskFieldAsync | Project Standard 2013 and Project Professional 2013 |
Document.goToByIdAsync | Excel, Excel Online, Word, and PowerPoint |
Settings.addHandlerAsync | Access web apps, Excel, Excel Online, Word, Word Online, PowerPoint and PowerPoint Online |
Settings.refreshAsync | Access web apps, Excel, Excel Online, Word, Word Online, PowerPoint, and PowerPoint Online |
Settings.removeHandlerAsync | Access web apps, Excel, Excel Online, Word, Word Online, PowerPoint and PowerPoint Online |
TableBinding.clearFormatsAsync | Excel, Excel Online |
TableBinding.setFormatsAsync | Excel, Excel Online |
TableBinding.setTableOptionsAsync | Excel, Excel Online |
© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext