![]() To use preview APIs, reference the preview version of the Office JavaScript API library on the CDN. To use Office JavaScript APIs within any of your add-in's web pages, you must reference the CDN in a tag in the tag of the page. The Office JavaScript API library can be accessed via the Office JS content delivery network (CDN) at. Interact with content in an Office documentĪn Office Add-in can use the Office JavaScript APIs to interact with content in the Office document where the add-in is running. Rules that specify when the add-in activates in the context of a message or appointment (for Outlook add-ins only).įor detailed information about the manifest, see Office Add-ins manifest.Dimensions of the add-in (for example, dimensions for content add-ins, requested height for Outlook add-ins). ![]() Location of images that the add-in uses for branding and command iconography.How the add-in integrates with Office, including any custom UI that the add-in creates (for example, a custom tab or custom ribbon buttons).Office applications where the add-in will run.Metadata that describes the add-in (for example, ID, version, description, display name, default locale).You'll configure the manifest to specify things such as: Define an add-in's settings and capabilitiesĪn Office Add-in's manifest defines the settings and capabilities of the add-in. Your add-in can also do other things that web applications typically do, like call external web services, facilitate user authentication, and more. The web application uses the Office JavaScript API to interact with content in the Office document where the add-in is running. The web application that defines the UI and functionality of add-in components such as task panes, content add-ins, and dialog boxes. The add-in manifest that defines the settings and capabilities of the add-in. Understand the two parts of an Office Add-in For details about creating an add-in, see Create Office Add-in projects with Teams Toolkit. The Teams Toolkit can be used to create almost any kind of Teams App, a term which includes all extensions of Microsoft 365, including those that don't extend the Teams application. Project templates in the Yeoman generator are updated more frequently than project templates in Visual Studio. The Yeoman generator provides a wider range of options for project types, frameworks, and languages than Visual Studio does for Office Add-in projects. For more information about creating add-ins with Visual Studio, see Develop Office Add-ins with Visual Studio.Īlthough it's possible to create Office Add-ins using Visual Studio, using the Yeoman generator provides a better developer experience in some notable ways. An Office Add-in project gets created as part of a Visual Studio solution and uses HTML, CSS, and JavaScript. Visual Studio can be used to create Office Add-ins for Excel, Outlook, Word, and PowerPoint. For more information about creating add-ins with the generator, see Yeoman generator for Office Add-ins. ![]() If you choose React, you can choose between JavaScript and Typescript as well. The generator can create Office Add-ins for any of the following:Ĭreate your project using HTML, CSS and JavaScript (or TypeScript), or using React. ![]() The Yeoman generator for Office Add-ins can be used to create a Node.js Office Add-in project that can be managed with Visual Studio Code or any other editor. You can create an Office Add-in by using the Yeoman generator for Office Add-ins, Visual Studio, or Teams Toolkit. Review the information here before exploring the application-specific documentation that corresponds to the add-in you're building (for example, Excel). Core development concepts like these are covered here in the Development lifecycle > Develop section of the documentation. For any add-in you build, you'll need to understand important concepts like application and platform availability, Office JavaScript API programming patterns, how to specify an add-in's settings and capabilities in the manifest file, how to design the UI and user experience, and more. Please review Office Add-ins platform overview before reading this article.Īll Office Add-ins are built upon the Office Add-ins platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |