---
schema_version: "1"
id: 754acfd374fb35e4f6019ede67d88a03c6b974e9fda6c0504a43cd4e2977290f
title: LearningContent
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_learningcontent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_learningcontent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8791598bcbd0e99ea17f5db938b4a78a5ac6215cd0836304cf794f94e3277502
description: Represents a Trailhead or enablement site (myTrailhead) module assigned to a user in Workforce Engagement or Learning Paths. This object also represents a Trailhead module or video in an Enablement program exercise. This object is available in API version 54.0 and later.
---
# LearningContent

Represents a Trailhead or enablement site (myTrailhead) module assigned to a user in Workforce Engagement or Learning Paths. This object also represents a Trailhead module or video in an Enablement program exercise. This object is available in API version 54.0 and later.

## Supported Calls

describeSObjects(), query()

## Special Access Rules

- The org must have a Workforce Engagement license.
- The user must have at least one Workforce Engagement permission set assigned to them: Workforce Engagement Admin, Workforce Engagement Analyst, Workforce Engagement Planner, Workforce Engagement Agent.
- For an enablement site (myTrailhead) module, the org must have a Sales Enablement license.
- For a Trailhead module or video in an Enablement program, the org must have an Enablement license.

## Fields

| Field | Details |
| --- | --- |
| ApiName | 
Type

string

Properties

Filter, Group, Nillable

Description

The module's human-readable API name, such as pure-aloe-sales-strategies.



 |
| AvailablePointCount | 

Type

int

Properties

Group, Nillable

Description

The maximum points that a user can earn on their profile by completing the module. This value is the sum of points that the content creator assigns to the module’s units.



 |
| ContainsAssessmentType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist

Description

Specifies the type of assessment that the content’s units include.

Possible values are:

- MultipleChoiceQuiz—All the content’s units have multiple-choice quizzes.
- HandsOnChallenge—At least one unit has a hands-on challenge.





 |
| ContentType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist

Description

The type of content assigned to the user.

Possible values are:

- All—The content is any supported type.
- Module—The content is a Trailhead or enablement site (myTrailhead) module.
- VideoLesson—The content is a video that's specified in the Enablement workspace in Digital Experiences and is used in an Enablement program.





 |
| ContentUrl | 

Type

url

Properties

Group, Nillable

Description

The absolute URL to the content, such as https://purealoe.my.trailhead.com/en/content/sales-team-enablement/modules/pure-aloe-sales-strategies.



 |
| Description | 

Type

string

Properties

Nillable

Description

The module’s description.



 |
| DurationCount | 

Type

int

Properties

Group, Nillable

Description

The total time, in minutes, for a learner to complete all units in the module. This value is the sum of the estimated times that the content creator assigns to the module’s units.



 |
| ExternalId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The GUID that Trailhead uses to reference the module.



 |
| ImageUrl | 

Type

url

Properties

Group, Nillable

Description

The absolute URL to the module’s badge art image file.



 |
| IsPublic | 

Type

boolean

Properties

Defaulted on create, Filter, Group

Description

Indicates whether the content is public Trailhead content (true) or private enablement site (myTrailhead) content (false).

The default value is false.



 |
| Title | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The module’s title.



 |

#### See Also

- [PersonTraining](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_persontraining.htm "Represents an assignment of a learning module in Workforce Engagement. This object is available in API version 54.0 and later.")