次の方法で共有


ExtendedPermission 要素

アドインが関連付けられている API または機能にアクセスするために必要な拡張アクセス許可を定義します。 要素は ExtendedPermissionExtendedPermissions の子要素です。

重要

この要素のサポートは、要件セット 1.9 で導入されました。 この要件セットをサポートする クライアントおよびプラットフォーム を参照してください。

アドインの種類: メール

次の VersionOverrides スキーマでのみ有効です

  • メール 1.1

詳細については、「 マニフェストでのバージョンのオーバーライド」を参照してください。

次の要件セットに関連付けられています

使用可能な拡張アクセス許可

使用可能な値を次に示します。

使用可能な値 説明 Hosts
AppendOnSend アドインが Office.Body.prependOnSendAsync または Office.Body.appendOnSendAsync API を 使用することを宣言します。

詳細については、「 送信時のメッセージまたは予定本文の前にコンテンツを追加または追加する」を参照してください。
Outlook

ExtendedPermission

要素の例を次に ExtendedPermission 示します。

...
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
    ...
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <SupportsSharedFolders>true</SupportsSharedFolders>
          <FunctionFile resid="residDesktopFuncUrl" />
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <!-- Configure your selected extension point. -->
          </ExtensionPoint>

          <!-- You can define more than one ExtensionPoint element as needed. -->

        </DesktopFormFactor>
      </Host>
    </Hosts>
    ...
    <!-- Configure the prepend-on-send or append-on-send feature using the AppendOnSend value. -->
    <ExtendedPermissions>
      <ExtendedPermission>AppendOnSend</ExtendedPermission>
    </ExtendedPermissions>
  </VersionOverrides>
</VersionOverrides>
...

含まれる場所