FinalItemアクティビティタイプ
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
FinalItemアクティビティタイプは、マーケティングオートメーションがキャンペーンに連絡先を登録する際のロジックを定義するのに役立ちます。SitecoreFinalItemアクティビティタイプの関連するユースケースをデフォルトでカバーしています。
項目構成
FinalItemアクティビティタイプは以下の構造を含みます。

性質
FinalItemアクティビティタイプには以下のプロパティがあります:
入る経路
1
アウトイングパス
1
タイトルとサブタイトル
アクティビティタイプのパラメータが定義されると表示されます。
論理的立場
他の FinalItem 活動の前に。
サポートされているCSSクラス
FinalItemアクティビティタイプは以下のCSSクラスをサポートしています:
CSSクラス
未定義
定義
marketing-action


other-element


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); } }