Outlook 加载项 - 动态控制按钮单击时突出显示
我开发了一个使用 yo 生成器 (Node.js) 构建的插件,它充当配置器,使 Outlook 撰写能够启用/禁用将新电子邮件的副本发送到自定义 URL 的发送功能。
添加了一个控制按钮,上面写着“切换发送到 cCRM”,但我更喜欢在单击控制按钮时动态地从“启用发送到 cCRM”切换到“禁用发送到 cCRM”,反之亦然,以改善 UI 体验。有可能实现吗?
I developed an add-in built with yo generator (Node.js) that works as a configurator which enables the outlook compose to enable/disable sending a copy of the new email to a custom url on-send.
There's a control button added that says 'Toggle Send to cCRM' but I would prefer a toggle text dynamically from 'Enable send to cCRM' to 'Disable send to cCRM' and vice-versa when clicking the control button to improve UI experience. Is it possible to accomplish?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有。 Web 加载项不支持切换按钮和回调。请参阅控件类型< /a> 了解更多信息。
当开发团队完成规划过程时,会考虑技术社区上的功能请求。使用 github 标签:“类型:产品功能请求”,位于 https://aka.ms/M365dev-suggestions。
Nope. Toggle buttons as well as callbacks are not supported in web add-ins. See Control types for more information.
Feature requests on Tech Community are considered, when the dev team go through the planning process. Use the github label: “Type: product feature request” at https://aka.ms/M365dev-suggestions .
目前,您请求的动态更改功能区图标的功能不是产品的一部分。我们在技术社区页面上跟踪 Outlook 加载项功能请求。请在那里提交您的请求并选择适当的标签。当我们进行规划过程时,会考虑技术社区的功能请求。
Currently the feature to dynamically change the icon in the ribbon, you requested, is not a part of the product. We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process.