我正在开发一个面向 OWA、Mac 和 Windows 的 Outlook 2016 的 Outlook 插件。我的要求是在阅读和撰写邮件时在右侧垂直显示加载项。对于撰写,它默认显示为所需的但对于阅读它是水平显示的,我想垂直显示。简而言之,我喜欢展示我的插件,就像 Evernote 插件所展示的一样。
您的帮助将不胜感激。在 OWA 中的 Evernote 屏幕截图之后是我想要显示的内容,包括图标位置(以红色括起来)。
提前致谢。
我正在开发一个面向 OWA、Mac 和 Windows 的 Outlook 2016 的 Outlook 插件。我的要求是在阅读和撰写邮件时在右侧垂直显示加载项。对于撰写,它默认显示为所需的但对于阅读它是水平显示的,我想垂直显示。简而言之,我喜欢展示我的插件,就像 Evernote 插件所展示的一样。
您的帮助将不胜感激。在 OWA 中的 Evernote 屏幕截图之后是我想要显示的内容,包括图标位置(以红色括起来)。
提前致谢。
我使用 YEOMAN Office Generator 制作了这样的垂直插件。供参考使用此链接。 yeoman-office-generator 的 GitHub 链接。 并在您的 manifest.xml 文件中进行更改,如下所示:
<?xml version="1.0" encoding="utf-8"?>
<OfficeApp xmlns=
"http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="MailApp">
<Id>7856b76d-42c2-4b40-87df-c4bfb706246f</Id>
<Version>1.0</Version>
<ProviderName>Microsoft</ProviderName>
<DefaultLocale>en-us</DefaultLocale>
<DisplayName DefaultValue="Alore MailTracker"/>
<Description DefaultValue="Send and Track your emails.">
<Override Locale="fr-fr" Value="Send and track your emails with Alore Emailtracker."/>
</Description>
<!-- Change the following line to specify -->
<!-- the web serverthat hosts the icon file. -->
<IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png"/>
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets DefaultMinVersion="1.1">
<Set Name="Mailbox" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
<RequestedHeight>216</RequestedHeight>
</DesktopSettings>
<TabletSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
<RequestedHeight>216</RequestedHeight>
</TabletSettings>
</Form>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
</DesktopSettings>
<TabletSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
</TabletSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="RuleCollection" Mode="And">
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
</Rule>
<Rule xsi:type="ItemHasRegularExpressionMatch"
PropertyName="BodyAsPlaintext" RegExName="VideoURL"
RegExValue="https://localhost:3000/resource.html" />
</Rule>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
</Rule>
</Rule>
</OfficeApp>
加载项命令将很快向 Outlook Web 的所有用户和所有加载项推出,我们预计它将在 12 月份达到 100%。一旦推出,您将能够在 OWA 中使用按钮如您在屏幕截图中看到的那样,启动任务窗格。对于适用于 Windows 的 Outlook 桌面,此功能已经可用,但是对于 Mac 的 Outlook,我们预计这将在 12 月推出!