简体   繁体   English

自适应卡 JSON 未在 Windows Outlook 外观中呈现插件 UI

[英]Adaptive card JSON is not rendering the Add-in UI in Windows Outlook look and feel

I have created an Add-in for Outlook. I am using Adaptive cards to render the add-in UI.我为 Outlook 创建了一个加载项。我正在使用自适应卡片来呈现加载项 UI。 The UI is not rendering in Outlook look and feel, in other words the styling is not getting applied. UI 未呈现 Outlook 外观,换句话说,未应用样式。 Is there anything I need to do in my add-in for this to take effect?是否需要在我的加载项中执行任何操作才能使其生效?

I used the sample Adaptive card to create a HTML and JS based Outlook add-in which renders UI in the taskpane.我使用示例自适应卡创建了一个 HTML 和基于 JS 的 Outlook 加载项,它在任务窗格中呈现 UI。

Adaptive cards received as actionable messages in Outlook are rendered and styled to match the host, but this is separate functionality from Outlook add-ins.在 Outlook 中作为可操作消息接收的自适应卡片被呈现和样式化以匹配主机,但这是与 Outlook 加载项不同的功能。 My guess is for an add-in you are on your own and will need to apply the Outlook styling, eg, using the CSS from the Adaptive Card designer tool .我的猜测是您自己的加载项需要应用 Outlook 样式,例如,使用Adaptive Card designer tool 中的 CSS This is not documented as far as I know, so these styles may be out of date.据我所知,这没有记录,所以这些 styles 可能已经过时了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM