【问题标题】:How to show vertical pane in Outlook add-ins in Outlook Web App (OWA), Outlook 2016 Mac & Windows如何在 Outlook Web App (OWA)、Outlook 2016 Mac 和 Windows 的 Outlook 加载项中显示垂直窗格
【发布时间】:2016-11-30 07:09:08
【问题描述】:

我正在开发一个面向 OWA、Mac 和 Windows 的 Outlook 2016 的 Outlook 插件。我的要求是在阅读和撰写邮件时将插件垂直显示在右侧。对于撰写,它默认显示为所需的但对于阅读它是水平显示的,我想垂直显示。简而言之,我喜欢展示我的插件与 Evernote 插件 完全相同。

您的帮助将不胜感激。以下是我想要显示的 OWA 中 Evernote 的屏幕截图,包括图标位置(以红色括起来)。

提前致谢。

【问题讨论】:

  • 取得成功了吗?
  • 我正在尝试实现同样的事情。你能做到吗?
  • @alekkowalczyk 正如下面的 AnOberoi 所提到的,现在正在发生。
  • @MuhammadUmar 正如下面的 AnOberoi 所提到的,它现在正在发生。
  • @PremchandraSingh 你能提供你看到这个的任何链接吗?\

标签: office-addins office-js outlook-web-app outlook-web-addins


【解决方案1】:

我使用 YEOMAN Office Generator 制作了这样的垂直插件。供参考使用此链接。 GitHub link for yeoman-office-generator. 并在您的 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>

【讨论】:

    【解决方案2】:

    加载项命令将很快向 Outlook Web 的所有用户和所有加载项推出,我们预计它会在 12 月份达到 100%。一旦推出,您将能够拥有OWA 中启动任务窗格的按钮,如屏幕截图所示。对于 Windows 版 Outlook 桌面,此功能已经可用,但对于 MAC 版 Outlook,我们预计此功能将于 12 月推出!

    【讨论】:

    • 谢谢,今天我们发现按钮显示在上面板,如我的屏幕截图所示。尚未检查Mac。如果它发生在 Mac 上,那就太好了。提前致谢
    • 还有一个问题。我在这个链接上发布了一个问题,如果你有机会,请看看。问题是关于发送电子邮件正文时的操作。提前致谢
    • 那么 office.js 对桌面版 Outlook for Mac 的加载项支持应该会在 12 月推出吗?我正在参加快速内幕计划,但仍然没有看到它。
    • 我错过了在上面的评论中提供link
    • @alek:MAC 的内幕消息昨天刚刚部署 :),可能已经错过了几个小时。 blogs.msdn.microsoft.com/outlookformac/2016/12/07/…
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多