[英]Create an outlook calendar add-in
我正在按照官方 Microsoft 文档创建 outlook 加载项: 构建您的第一个 Outlook 加载项
我正在使用 MacBook Pro M1,因此我正在使用 Yeoman 生成来遵循教程。
一切正常。 我可以在电子邮件中看到加载项,但我希望在日历中或创建会议时也看到加载项。
按照本教程,我仅在电子邮件中看到加载项。
确保您在清单文件中指定了正确的规则:
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read" />
</Rule>
此外,在功能区 UI 的清单文件中,您需要为消息和约会指定不同的扩展点。
您可以在https://github.com/OfficeDev/outlook-add-in-command-demo找到完整的示例加载项源代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.