ActionPlanTemplate
ファイルのサフィックスおよびディレクトリの場所
ActionPlanTemplate コンポーネントのサフィックスは .apt で、actionPlanTemplates フォルダーに保存されます。
バージョン
アクションプランテンプレートコンポーネントは、API バージョン 47.0 以降で使用できます。
特別なアクセスルール
アクションプランテンプレートを作成するか、テンプレートにアクセスするには、「アプリケーションのカスタマイズ」権限と IndustriesActionPlans ライセンスが必要です。
項目
| 項目名 | 項目の型 | 説明 |
|---|---|---|
| actionPlanTemplateItem | ActionPlanTemplateItem | アクションプランテンプレートバージョン上の項目のインスタンス。 |
| description | string | アクションプランテンプレートの説明。 |
| name | string | 必須。アクションプランテンプレートの名前。 |
| targetEntityType | string | 必須。このアクションプラン��ンプレートに関連する親オブジェクト。サポートされる親オブジェクトは、取引先、BusinessMilestone、キャンペーン、ケース、要求、取引先責任者、契約、InsurancePolicy、InsurancePolicyCoverage、リード、商談、PersonLifeEvent、および活動が有効になっているカスタムオブジェクトです。 |
| uniqueName | string | 必須。このアクションプランテンプレートレコードの一意の識別子。 |
ActionPlanTemplateItem
アクションプランテンプレートバージョン上の項目のインスタンスを表します。
| 項目名 | 項目の型 | 説明 |
|---|---|---|
| actionPlanTemplateItemValue | actionPlanTemplateItemValue | アクションプランテンプレート項目に関連付けられた値。 |
| displayOrder | int | アクションプランテンプレートバージョン内のこの項目の表示順序。 |
| isRequired | boolean | このテンプレート項目から作成された ToDo が必須かどうかを示します。 |
| itemEntityType | string | 必須。この値の対象であるアクションプランテンプレート項目上の項目の ID。API バージョン 48.0 以降で利用できます。 |
| name | string | 必須。アクションプランテンプレート項目の名前。 |
| uniqueName | string | 必須。このアクションプランテンプレート項目レコードの一意の識別子。 |
ActionPlanTemplateItemValue
アクションプランテンプレート項目に関連付けられた値を表します。
| 項目名 | 項目の型 | 説明 |
|---|---|---|
| itemEntityType | string | 必須。この値の対象であるアクションプランテンプレート項目上の項目の ID。API バージョン 48.0 以降で利用できます。 |
| name | string | 必須。アクションプランテンプレート項目の値の名前。 |
| valueFormula | string | このアクションプランテンプレート項目の数式。 |
| valueLiteral | string | このアクションプランテンプレート項目の値。 |
宣言的なメタデータの定義のサンプル
ActionPlanTemplate コンポーネントの例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<ActionPlanTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
3 <actionPlanTemplateItem>
4 <actionPlanTemplateItemValue>
5 <itemEntityType>Task</itemEntityType>
6 <name>Subject</name>
7 <valueLiteral>Task 1</valueLiteral>
8 </actionPlanTemplateItemValue>
9 <actionPlanTemplateItemValue>
10 <itemEntityType>Task</itemEntityType>
11 <name>Priority</name>
12 <valueLiteral>Normal</valueLiteral>
13 </actionPlanTemplateItemValue>
14 <actionPlanTemplateItemValue>
15 <itemEntityType>Task</itemEntityType>
16 <name>ActivityDate</name>
17 <valueFormula>StartDate + 1</valueFormula>
18 </actionPlanTemplateItemValue>
19 <isRequired>true</isRequired>
20 <itemEntityType>Task</itemEntityType>
21 <name>Task 1</name>
22 <uniqueName>Task_1_f1beaba5_1ae1_11ea_93ad_5bc214d4daaf</uniqueName>
23 </actionPlanTemplateItem>
24 <description>This is a sample template for packaging</description>
25 <name>Action Plan Template 1</name>
26 <targetEntityType>Account</targetEntityType>
27 <uniqueName>Action_Plan_Template_1_da365953_1ae1_11ea_93ad_89a1c3d51bae</uniqueName>
28</ActionPlanTemplate>マニフェストファイル内のワイルドカードのサポート
このメタデータ型では、package.xml マニフェストファイル内のワイルドカード文字 * (アスタリスク) がサポートされます。マニフェストファイルの使用についての詳細は、「zip ファイルを使用したメタデータのリリースと取得」を参照してください。