Course Header (object)
Table of Contents
Course Header (object)
This object represents a parent grouping of a Course and its different versions. Course Headers are only used if you have enabled Course Versioning.
If you have enabled Course Versioning, every Course should lookup to a Course Header. When creating new Courses, you can either:
- Create the Course Header first, and lookup to it from the Course OR
- Set the Course Status to Active, which will automatically create the Course Header for you if one hasn't already been set.
Important Fields
| Field name | Description |
| Name | The name of the Course. |
| Educational Institution | The Educational Institution this Course belongs to. |
| Course ID |
Unique identifier for a Course. This should be the same value as all child Courses. Note: The field is not a unique field, but an automatic trigger handler will prevent duplicate Course IDs for each Educational Institution. |
| Latest Version Course |
A lookup to the child Course record where Latest = true. Note: You should not edit this field directly, it is automatically populated from a trigger handler. |
| Latest Version | A formula field displaying the latest Course's version number. |
Course (object)
Some new fields were also added to the Course object to support the new Course Header data model.
If Course Versioning is not enabled, these fields do not need to be used.
If Course Versioning is enabled, each active Course must now lookup to a Course Header record. Enabling the Course Versioning feature will create all necessary Course Headers, and update the lookups accordingly. See here to find out more.
Important Fields
| Field name | Description |
| Course Header | A lookup to the parent Course Header. |
| Status |
A new status picklist for tracking the status of a Course. When this is changed to Active, a new Course Header is automatically created for the Course if one does not already exist. Picklist options:
|
| Version | The version number. |
| Latest | This checkbox denotes that this version of the Course is the latest. Setting this to true will automatically populate the Course Header's Latest Version Course lookup, and unset it from the previous latest Course. |
| Target Course | A system formula field used to identify the matching courses, based on if course versioning is enabled. It returns either the Course or the Course Header Id. |