[MS] Specify runtime requirements in app manifest: Your key to success across Microsoft 365 - devamazonaws.blogspot.com
Specify Runtime Requirements in App Manifest: Your Key to Success across Microsoft 365 Hosts
Through extensive user research, we've identified what M365 users value most for boosting productivity. They want uninterrupted workflows, an all-in-one workspace, and minimal context switching. With this insight, we evolved Microsoft 365 into a unified platform across Teams, Outlook, M365 app (formerly Office.com), and more. For you as a developer, this means broader user reach without needing to rewrite code for each host. For IT admins, it’s about centralized app management. That's why with manifest version v1.13+, apps will now automatically appear across multiple M365 hosts, making development smoother and more impactful. [caption id="attachment_23261" align="alignnone" width="952"]
Feature Overview
So how does it work? The ability to specify runtime requirements in your manifest enables you to build apps that only show the relevant components supported by the host. Here's a sneak peek of how this feature can enhance your app’s versatility:- Functionality Support: Maintain the unified app package for M365 platform and only show the app capabilities whose functionalities are fully supported by M365 suites including Teams, Outlook, M365 app and Copilot. For instance, a static tab that relies on HTML-based dialogs will only be available on hosts that support this functionality.
- Element Dependencies: Ensure dependencies between different parts of your app are respected, in order to deliver the full user scenario. For example, imagine you're building an app with a static tab that depends on a message extension. Being able to specify these requirements in manifest allows you to ensure that the static tab will only appear if the message extension is supported on the host.
Dive into the Feature Highlights
Now, let’s explore some of the key components of this new feature, designed to provide greater flexibility and ease of development:- hostMustSupportFunctionalities Property

- elementRelationshipSet Property
-
- oneWayDependencies: Ideal when one element relies on another. For instance, a static tab that serves as a settings page for a message extension will only show up when both are supported on the host.

-
- mutualDependencies: When multiple elements depend on one another, this new property ensures that if one element isn’t supported, none of them will appear.

Start Building Today
The best part? You can start leveraging this new ability today! The ability to specify runtime requirements is now available in the devPreview manifest schema for public preview. By adding those properties to your app, you're setting yourself up for success, ensuring a seamless experience for your users, no matter where they engage with your app. It brings you the future of productivity apps—where flexibility meets functionality, and your app thrives on the unified M365 platform. Ready to dive in?- Step-by-Step Implementation: Integrate this feature into your app using our detailed dev documentation. Start by adding the hostMustSupportFunctionalities and elementRelationshipSet properties to your manifest.
- Interested in sharing your feedback? We’re eager to hear from you! Your feedback is invaluable to us as we continue to fine-tune and enhance this feature. Fill out this form to leave your contact information and we'll reach out to collect feedback on how this new feature is working for you.
Post Updated on October 23, 2024 at 11:52PM
Thanks for reading
from devamazonaws.blogspot.com
Comments
Post a Comment