Developer Tools for Enablement Programs
Several standard objects define the structure and behavior of Enablement programs. If you create custom exercise types for programs, use the appropriate classes and methods in the Apex namespace and the appropriate Lightning Web Components (LWC) target for implementing your exercises. To move Enablement data between orgs with change sets or managed packages, several metadata types and package components are available.
For information about how these objects are related, see Enablement Data Model.
- EnablementMeasureDefinition
- EnablementProgram
- EnablementProgramDefinition
- EnblMeasureObjectDefinition
- EnblPgmTaskMeasureProgress
- EnblProgramSection
- EnblProgramTaskDefinition
- EnblProgramTaskMeasure
- EnblProgramTaskProgress
- EnblProgramTaskSubCategory
- LearningItem
- LearningItemAssignment
- LearningItemProgress
- LearningItemSubmission
- LearningItemType
- LearningPractice
For information about how these metadata types are used with change sets and managed packages, see Migrate Programs and Their Dependencies Between Orgs.
- Enablement Measure Definition
- Enablement Program Definition
- Enablement Program Task Subcategory
- Learning Item Type
Add the Enablement scratch org feature in your scratch org definition file when you package programs and dependencies. See Migrate Programs and Their Dependencies Between Orgs.
Use the classes and methods of the sfdc_enablement
namespace in Apex when you implement custom exercise types. See Implement Custom Exercise Types for Enablement Programs.
Use the lightning__EnablementProgram
target when you implement custom exercises.
By default, the Salesforce Lightning Design System uses the evaluateLearningItem
wire adapter of the lightning/uiLearningPlatformApi
module when tracking a user's progress in a custom exercise.
See Implement Custom Exercise Types for Enablement Programs.