ReportPhishingCustomization 要素 (プレビュー)

Outlook でスパム レポート アドインのリボン ボタンと前処理ダイアログを構成します。

アドインにスパム レポート機能を実装する方法の詳細については、「 統合スパム レポート アドインの実装 (プレビュー)」を参照してください。

アドインの種類: メール

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

  • メール 1.1

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

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

含まれる場所

属性

なし。

子要素

要素 必須 説明
Control はい アドイン ボタンを構成してリボンに追加します。 xsi:type 属性を にButton設定し、Action<> 子要素の xsi:type 属性を に設定するExecuteFunction必要があります。
PreProcessingDialog (プレビュー) はい リボンからアドイン ボタンを選択した後に表示される前処理ダイアログを構成します。 このダイアログでは、ユーザーがレポートしているメッセージに関する追加情報を提供できます。
SourceLocation 要素 (バージョンのオーバーライド) はい ソース JavaScript ファイルの場所を指定します。

<ExtensionPoint xsi:type="ReportPhishingCommandSurface">
  <ReportPhishingCustomization>
    <!-- Configures the ribbon button. -->
    <Control xsi:type="Button" id="ReportingButton">
      <Label resid="ReportingButton.Label"/>
      <Supertip>
        <Title resid="ReportingButton.Label"/>
        <Description resid="ReportingButton.Description"/>
      </Supertip>
      <Icon>
        <bt:Image size="16" resid="Icon.16x16"/>
        <bt:Image size="32" resid="Icon.32x32"/>
        <bt:Image size="64" resid="Icon.64x64"/>
        <bt:Image size="80" resid="Icon.80x80"/>
      </Icon>
      <Action xsi:type="ExecuteFunction">
        <FunctionName>onMessageReport</FunctionName>
      </Action>
    </Control>
    <!-- Configures the preprocessing dialog. -->
    <PreProcessingDialog>
      <Title resid="PreProcessingDialog.Label"/>
      <Description resid="PreProcessingDialog.Description"/>
      <ReportingOptions>
        <Title resid="OptionsTitle.Label"/>
        <Option resid="Option1.Label"/>
        <Option resid="Option2.Label"/>
        <Option resid="Option3.Label"/>
        <Option resid="Option4.Label"/>
      </ReportingOptions>
      <FreeTextLabel resid="FreeText.Label"/>
      <MoreInfo>
        <MoreInfoText resid="MoreInfo.Label"/>
        <MoreInfoUrl resid="MoreInfo.Url"/>
      </MoreInfo>
    </PreProcessingDialog>
    <SourceLocation resid="Commands.Url"/>
  </ReportPhishingCustomization>
</ExtensionPoint>