---
schema_version: "1"
id: bb44ac98ac1b516eeb1c0b458b3b873aa79473ae58d10e3682d1361f68efa5b3
title: LearningItem
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_learningitem.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_learningitem.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b06f46f8e26914c0dc17c7a015a291055de94885c85c01c31f9b8b2fe23d0d9f
description: Represents an item that requires users to take action, including a Learning Paths entry, an Enablement program, or an exercise with linked content in an Enablement program. For Learning Paths, users are assigned a learning item to complete. For Enablement programs and exercises, users are assigned a program or can self-enroll in shared programs. This object is available in API version 58.0 and later.
---
# LearningItem

Represents an item that requires users to take action, including a Learning Paths entry, an Enablement program, or an exercise with linked content in an Enablement program. For Learning Paths, users are assigned a learning item to complete. For Enablement programs and exercises, users are assigned a program or can self-enroll in shared programs. This object is available in API version 58.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

- For Enablement admins to create, update, and delete Enablement programs, the Design and Deliver Enablement Programs permission is required. This permission is enabled by default as part of the Manage Enablement Essentials permission set, which comes with the Enablement add-on license.
- For users who take Enablement programs, the Take Enablement Programs permission is required. This permission is enabled by default as part of the Use Enablement Programs permission set, which comes with the Enablement add-on license.
- For partner users who take Partner Enablement programs, the Take Partner Enablement Programs permission is required. This permission is enabled by default as part of the Use Partner Enablement Programs permission set, which comes with the Enablement add-on license. Partner Enablement also requires a [supported Partner Relationship Management (PRM) add-on license](https://help.salesforce.com/s/articleView?id=slack.prm_support_license_template.htm&type=5&language=en_US "HTML (New Window)").

## Fields

| Field | Details |
| --- | --- |
| CustomLearningItemTypeId | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of a learning item type record if this learning item represents a custom exercise type in an Enablement program. This field is required when the Type field’s value is CustomContent.

This field is a relationship field.

Available in API version 62.0 and later.

Relationship Name

CustomLearningItemType

Relationship Type

Lookup

Refers To

LearningItemType



 |
| EnablementProgramId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of an Enablement program that contains the outcome, milestone, or exercise.

This field is a relationship field.

Relationship Name

EnablementProgram

Relationship Type

Lookup

Refers To

EnablementProgram



 |
| LearningContentId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the record that represents a Trailhead module or video in a sales program exercise. This field is a relationship field.

Relationship Name

LearniningContent

Refers To

LearningContent



 |
| OwnerId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the owner of the program. This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| StandardCustomContentMetadata | 

Type

textarea

Properties

Nillable

Description

Reserved for future use.



 |
| StandardCustomLearningItemType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Reserved for future use.



 |
| Type | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The type of learning item. Possible values are:

- CustomContent—Custom exercise content in an Enablement program, such as a screen flow, content from external repositories, or other custom content sources. Available in API version 62.0 and later.
- EnablementProgram
- LearningContent—Trailhead module
- LearningLesson—Lesson exercise in an Enablement program
- LearningLink—Audio Recording, Document, Scheduled Event, or Other exercise in an Enablement program
- LearningPractice—Feedback Request exercise in an Enablement program
- StandardCustomContent—Standard Custom exercise content in an Enablement program. Reserved for future use.





 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[LearningItemOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.") (API version 60.0)

Sharing rules are available for the object.

[LearningItemShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.") (API version 60.0)

Sharing is available for the object.