10.5

FinalItemアクティビティタイプ

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

FinalItemアクティビティタイプは、マーケティングオートメーションがキャンペーンに連絡先を登録する際のロジックを定義するのに役立ちます。SitecoreFinalItemアクティビティタイプの関連するユースケースをデフォルトでカバーしています。

項目構成

FinalItemアクティビティタイプは以下の構造を含みます。

Illustration showing the structure of the FinalItem activity type.

性質

FinalItemアクティビティタイプには以下のプロパティがあります:

入る経路

1

アウトイングパス

1

タイトルとサブタイトル

アクティビティタイプのパラメータが定義されると表示されます。

論理的立場

他の FinalItem 活動の前に。

サポートされているCSSクラス

FinalItemアクティビティタイプは以下のCSSクラスをサポートしています:

CSSクラス

未定義

定義

marketing-action

marketing-action-undef-fi1.png
marketing-action-de-fi1.png

other-element

other-undefined-fi1.png
other-defined-fi1.png

TypeScript実装のサンプル

これはFinalItemアクティビティタイプの実装例です:

sample/src/sample-final-item-activity-type.ts

import { FinalItem } from '@sitecore/ma-core';

export class SampleFinalItemActivityType extends FinalItem {

getVisual(): string { const subTitle = this.isDefined ? 'Count: ' + this.editorParams.count : ''; const cssClass = this.isDefined ? '' : 'undefined';

// The CSS class can either be marketing-action or other-element. return `

Sample final item ${subTitle}

\`; }

get isDefined(): boolean { /* The editorParams property value is the object that is serialized from the activity editor. If the activity is undefined, the editorParams property will evaluate to {}. */ return Boolean(this.editorParams.count); } }

この記事を改善するための提案がある場合は、 お知らせください!