Newer Version Available
EnablementProgramDefinition
Parent Type
File Suffix and Directory Location
EnablementProgramDefinition components have the suffix .enablementProgramDefinition and are stored in the enablementProgramDefinitions folder.
Version
EnablementProgramDefinition components are available in API version 61.0 and later.
Special Access Rules
To access Enablement programs, the Design and Deliver Enablement Programs permission is required. This permission is available with the Enablement add-on license.
For partner programs in supported Experience Cloud sites, a supported Partner Relationship Management (PRM) add-on license is also required.
Fields
| Field Name | Description |
|---|---|
| description |
|
| developerName |
|
| doesAllowSelfEnrollment |
|
| masterLabel |
|
| name |
|
| network |
|
| sections |
|
| tasks |
|
| type |
|
EnablementProgramSection
Represents a logical, trackable group of milestones and exercises within an Enablement program. When users take programs, they can expand or collapse sections.
| Field Name | Description |
|---|---|
| developerName |
|
| name |
|
| sequenceNumber |
|
| tasks |
|
EnablementProgramTask
Represents an outcome, milestone, or exercise in an Enablement program. A program task is also known as a program item.
| Field Name | Description |
|---|---|
| customSubCategoryName |
|
| day |
|
| description |
|
| developerName |
|
| exercise |
|
| milestone |
|
| name |
|
| sequenceNumber |
|
| taskCategory |
|
| taskSubCategory |
|
EnablementProgramTaskExercise
Represents the content used with an exercise in an Enablement program.
| Field Name | Description |
|---|---|
| cmsContent |
|
| customContent |
|
| externalContent |
|
| feedbackContent |
|
EnablementProgramTaskCmsContent
Defines content managed in the Enablement workspace in the Digital Experiences app for the Audio Recording, Document, Other, Scheduled Event, Text Lesson, or Video exercise types.
| Field Name | Description |
|---|---|
| apiName |
|
| contentKey |
|
EnablementProgramTaskCustomContent
Defines content used with a custom exercise type.
| Field Name | Description |
|---|---|
| content |
|
EnablementProgramTaskExternalContent
Defines Trailhead content for the Trailhead exercise type.
| Field Name | Description |
|---|---|
| externalId |
|
| providerType |
|
EnablementProgramTaskFeedbackContent
Defines the assessment survey or Einstein prompt template for the Feedback Request exercise type.
| Field Name | Description |
|---|---|
| inviteeCount |
|
| promptTemplate |
|
| surveyDeveloperName |
|
| type |
|
EnablementProgramTaskMilestone
Defines the requirements for an outcome or milestone, including the Enablement measures used for tracking activity and the criteria for completing the outcome or milestone.
| Field Name | Description |
|---|---|
| compositeMilestoneType |
|
| isMilestoneAnOutcome |
|
| milestoneMeasures |
|
| milestoneTarget |
|
| minimumSampleSize |
|
EnablementProgramTaskMilestoneMeasure
Defines the Enablement measure used with an outcome or milestone.
| Field Name | Description |
|---|---|
| measureDefinitionDeveloperName |
|
| sequenceNumber |
|
Declarative Metadata Sample Definition
The following is an example of an EnablementProgramDefinition component.
1<?xml version="1.0" encoding="UTF-8"?>
2<EnablementProgramDefinition xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>Get started with sales at Cloud Kicks and close your first deal!</description>
4 <developerName>Get_Started_Close_First_Deal_Program</developerName>
5 <doesAllowSelfEnrollment>false</doesAllowSelfEnrollment>
6 <masterLabel>Welcome to Sales at Cloud Kicks</masterLabel>
7 <name>Welcome to Sales at Cloud Kicks</name>
8 <sections>
9 <developerName>section_0</developerName>
10 <name>Learn the Ropes in Your First Week</name>
11 <sequenceNumber>0</sequenceNumber>
12 <tasks>
13 <day>1</day>
14 <description>Learn the basics of sales at Cloud Kicks.</description>
15 <developerName>task_0</developerName>
16 <exercise>
17 <externalContent>
18 <externalId>sales-rep-training</externalId>
19 <providerType>Trailhead</providerType>
20 </externalContent>
21 </exercise>
22 <name>Sales Rep Training</name>
23 <sequenceNumber>0</sequenceNumber>
24 <taskCategory>Exercise</taskCategory>
25 <taskSubCategory>Trailhead</taskSubCategory>
26 </tasks>
27 <tasks>
28 <day>2</day>
29 <description>Watch our CEO explain the company vision.</description>
30 <developerName>task_1</developerName>
31 <exercise>
32 <cmsContent>
33 <apiName>enablement/sfdcEnablement_EnablementWorkspace.sfdc_enablement__link/company_vision_video</apiName>
34 </cmsContent>
35 </exercise>
36 <name>See Our Company Vision</name>
37 <sequenceNumber>1</sequenceNumber>
38 <taskCategory>Exercise</taskCategory>
39 <taskSubCategory>Video</taskSubCategory>
40 </tasks>
41 <tasks>
42 <day>3</day>
43 <description>Action Item</description>
44 <developerName>task_2</developerName>
45 <name>Action Item</name>
46 <sequenceNumber>2</sequenceNumber>
47 <taskCategory>Exercise</taskCategory>
48 <taskSubCategory>ActionItem</taskSubCategory>
49 </tasks>
50 <tasks>
51 <day>4</day>
52 <description>Try out your first sales patch at Cloud Kicks and get feedback from our in-house experts.</description>
53 <developerName>task_3</developerName>
54 <exercise>
55 <feedbackContent>
56 <inviteeCount>1</inviteeCount>
57 <surveyDeveloperName>discovery_call_assessment</surveyDeveloperName>
58 </feedbackContent>
59 </exercise>
60 <name>Feedback from Peers and Managers</name>
61 <sequenceNumber>3</sequenceNumber>
62 <taskCategory>Exercise</taskCategory>
63 <taskSubCategory>FeedbackRequest</taskSubCategory>
64 </tasks>
65 <tasks>
66 <day>5</day>
67 <description>Complete a discovery calls by day 5.</description>
68 <developerName>task_4</developerName>
69 <isMilestoneAnOutcome>false</isMilestoneAnOutcome>
70 <milestone>
71 <milestoneMeasures>
72 <measureDefinitionDeveloperName>salesforceTemplate_CallsEmails</measureDefinitionDeveloperName>
73 </milestoneMeasures>
74 <milestoneTarget>1.0</milestoneTarget>
75 </milestone>
76 <name>Log a Discovery Call by Day 5</name>
77 <sequenceNumber>4</sequenceNumber>
78 <taskCategory>Milestone</taskCategory>
79 <taskSubCategory>Other</taskSubCategory>
80 </tasks>
81 <tasks>
82 <day>6</day>
83 <description>Browse our sales leaders blog for more insights.</description>
84 <developerName>task_5</developerName>
85 <exercise>
86 <cmsContent>
87 <apiName>enablement/sfdcEnablement_EnablementWorkspace.sfdc_enablement__link/sales_blog</apiName>
88 </cmsContent>
89 </exercise>
90 <name>Review Tips from Sales Leaders</name>
91 <sequenceNumber>5</sequenceNumber>
92 <taskCategory>Exercise</taskCategory>
93 <taskSubCategory>OtherExercise</taskSubCategory>
94 </tasks>
95 <tasks>
96 <day>7</day>
97 <description>Follow a screen flow for onboarding to the sales team.</description>
98 <developerName>task_6</developerName>
99 <exercise>
100 <customContent>
101 <content>flowDeveloperName=OnboardingFlow</content>
102 </customContent>
103 </exercise>
104 <name>Onboarding Flow</name>
105 <sequenceNumber>6</sequenceNumber>
106 <taskCategory>Exercise</taskCategory>
107 <taskSubCategory>CustomExercise</taskSubCategory>
108 <customSubCategoryName>ScreenFlowTaskSubCategory</customSubCategoryName>
109 </tasks>
110 </sections>
111 <tasks>
112 <day>30</day>
113 <description>Close your first opportunity. To make sure it's counted, set the opportunity Stage field to Closed Won.</description>
114 <developerName>task_enablementProgramOutcomeCard</developerName>
115 <isMilestoneAnOutcome>true</isMilestoneAnOutcome>
116 <milestone>
117 <milestoneMeasures>
118 <measureDefinitionDeveloperName>measure_CloseFirstDeal</measureDefinitionDeveloperName>
119 </milestoneMeasures>
120 <milestoneTarget>1.0</milestoneTarget>
121 </milestone>
122 <name>outcome</name>
123 <sequenceNumber>0</sequenceNumber>
124 <taskCategory>Milestone</taskCategory>
125 <taskSubCategory>Other</taskSubCategory>
126 </tasks>
127 <type>Enablement</type>
128</EnablementProgramDefinition>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>Get_Started_Close_First_Deal_Program</members>
5 <name>EnablementProgramDefinition</name>
6 </types>
7 <version>61.0</version>
8</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.