Skip to main content

🧭 How Users Access the Learning Path Homepage

The most common way users reach the Learning Path Homepage (LP HP) is through the catalog page. Each catalog tile includes a View button, which redirects the user to the corresponding Learning Path homepage. To support this behavior, each catalog node(LP) includes a Call to Action (CTA) with the action ID VIEW_LP. This CTA provides all the necessary metadata for redirecting the user to the correct Learning Path.
A Call to Action (CTA) object defines which actions a user can perform on a particular Learning Path. The available CTAs depend on the current learning state for that Learning Path — including enrollment status, completion, scores, or access eligibility.
Below is an example of the getCatalogData query, which returns a list of catalog items along with the CTAs available for each Learning Path based on the current user’s learning state.

Retrieving a Learning Path Object

To retrieve Learning Path data, you can use the getLearningPath query with the lpId argument provided in the VIEW_LP CTA:
The example getLearningPath query response can be structured into distinct sections:
Using the information provided by the API, you can build the Learning Path Homepage as demonstrated in our learner area. At this point, all training content will appear locked, as the user has not yet enrolled in the Learning Path. For details on how users can be enrolled, please refer to the Learning Path Enrollment section.