Надстройка Outlook для некоторых пользователей недоступна в Outlook 2013 Desktop - PullRequest
0 голосов
/ 05 июля 2018

У меня проблема с надстройкой Outlook. Таким образом, надстройка публикуется внутри компании ИТ-отделом, и все видят ее в OWA, и она работает так, как и должна.

Теперь для некоторых пользователей, когда они открывают Outlook 2013 Desktop, он отображается серым цветом так: : enter image description here

И когда я иду, чтобы управлять надстройкой на owa, я вижу следующее:

enter image description here

Я попытался отключить другие надстройки, чтобы выяснить, не вызывают ли они конфликты, и это не сработало. Вот файл манифеста: я удалил несколько строк, которые связаны с компанией, и изменил URL, но остальные - те же.

    <FormSettings>
    <!--
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="~remoteAppUrl/AppRead/Home/Home.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
    -->
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation               DefaultValue="~remoteAppUrl/MailForms/AppCompose/1.0.0.3/Home/Home.html"/>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <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>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.4">
        <bt:Set Name="Mailbox" />
      </bt:Sets>
    </Requirements>
     <DesktopFormFactor>
          <!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
          <FunctionFile resid="functionFile" />

          <!-- Message Read -->
          <!--<ExtensionPoint xsi:type="MessageReadCommandSurface">
            --><!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> --><!--
            <OfficeTab id="TabDefault">
              --><!-- Up to 6 Groups added per Tab --><!--
              <Group id="msgReadGroup">
                <Label resid="groupLabel" />
                --><!-- Launch the add-in : task pane button --><!--
                <Control xsi:type="Button" id="msgReadOpenPaneButton">
                  <Label resid="paneReadButtonLabel" />
                  <Supertip>
                    <Title resid="paneReadSuperTipTitle" />
                    <Description resid="paneReadSuperTipDescription" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icon16" />
                    <bt:Image size="32" resid="icon32" />
                    <bt:Image size="80" resid="icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="messageReadTaskPaneUrl" />
                  </Action>
                </Control>
                --><!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu --><!--
              </Group>
            </OfficeTab>
          </ExtensionPoint>-->
          
          <!-- Message Compose -->
          <ExtensionPoint xsi:type="MessageComposeCommandSurface">
            <!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
            <OfficeTab id="TabDefault">
              <!-- Up to 6 Groups added per Tab -->
              <Group id="msgReadGroup">
                <Label resid="groupLabel" />
                <!-- Launch the add-in : task pane button -->
                <Control xsi:type="Button" id="msgReadOpenPaneButton">
                  <Label resid="paneReadButtonLabel" />
                  <Supertip>
                    <Title resid="paneReadSuperTipTitle" />
                    <Description resid="paneReadSuperTipDescription" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icon16" />
                    <bt:Image size="32" resid="icon32" />
                    <bt:Image size="80" resid="icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="messageComposeTaskPaneUrl" />
                  </Action>
                </Control>
                <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
              </Group>
            </OfficeTab>
          </ExtensionPoint>
          <!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="~remoteAppUrl/MailForms/Images/icon16.png"/>
        <bt:Image id="icon32" DefaultValue="~remoteAppUrl/MailForms/Images/icon32.png"/>
        <bt:Image id="icon80" DefaultValue="~remoteAppUrl/MailForms/Images/icon80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="functionFile" DefaultValue=" ~remoteAppUrl/MailForms/Functions/FunctionFile.html"/>
        <!--<bt:Url id="messageReadTaskPaneUrl" DefaultValue="~remoteAppUrl/AppRead/Home/Home.html"/>-->
        <bt:Url id="messageComposeTaskPaneUrl" DefaultValue="~remoteAppUrl/MailForms/AppCompose/1.0.0.3/Home/Home.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="groupLabel" DefaultValue="My Add-in Group"/>
        <bt:String id="customTabLabel"  DefaultValue="My Add-in Tab"/>
        <bt:String id="paneReadButtonLabel" DefaultValue="Messageware Mail Forms"/>
        <bt:String id="paneReadSuperTipTitle" DefaultValue="Get all properties"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane displaying all available properties. This is an example of a button that opens a task pane."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
enter image description here Есть идеи?

1 Ответ

0 голосов
/ 06 июля 2018

ОК - ваш DefaultMinVersion равен 1.4:

<bt:Sets DefaultMinVersion="1.4">

В соответствии с документацией набора требований , набор требований 1.4 был добавлен в Outlook 2013 через kb 3118280 , то есть версию 15.0.4859.1000. Поэтому вам следует проверить версию Outlook 2013, которую вы используете. Любой клиент, который устарел, предложил бы набор требований 1.3 или ниже и отобразил бы значок серым.

Ваш комментарий о Salesforce напоминает мне кое-что, что я только что отладил. Версия самого Outlook не имеет значения для требований. Это версия osf.dll и osfshared.dll, которые имеют значение. Так что вполне вероятно, что это устарело. Попробуйте последнее обновление OSF и посмотрите, работает ли Salesforce.

Ошибка, которую я подал по документации требований: https://github.com/OfficeDev/office-js-docs/issues/1461

...