October 15, 2023
Catalog Visibility in Headless Adobe Learning Manager | Enhancing Learner Experience in Headless LMS through API
Comments
(0)
October 15, 2023
Catalog Visibility in Headless Adobe Learning Manager | Enhancing Learner Experience in Headless LMS through API
https://www.linkedin.com/in/anupam-gogoi-97a14888/
Wizard
Followers: 10 people
(0)

Introduction

In the dynamic realm of e-learning in Adobe Learning Manager, the visibility of course catalogs is paramount to the learning experience. In this guide, we explore the intricate process of configuring catalog visibility for learners in a Headless Adobe Learning Manager instance. The objective is to empower learners to select learning categories, leading to the automatic display of associated course catalogs tailored to their preferences.

Use Case

The use case revolves around providing learners with the ability to choose learning categories. Subsequently, the selected categories should trigger the display of associated course catalogs on the learners’ webpages.

Workflow

When a learner chooses their desired categories, the system is designed to promptly modify the user details of that specific learner, incorporating the selected category information as an active field value. This active field, acting as a user attribute, not only updates the user profile but also initiates the automatic generation of groups based on the assigned attribute values. Subsequently, the system seamlessly adds the user to these auto-generated groups.

After the user’s details are successfully updated with the active fields, they are automatically enrolled in the corresponding groups. These groups, which are preconfigured, should be strategically incorporated into the relevant catalogs to be displayed to the users.

Example: User selects category A in the UI → User details of the user should get patched with active field value
“categories”=”A” → User gets auto added to user group Categories(A) → User group Categories(A) is
shared in Catalog X → Catalog X is visible to the learner

Pre-requisites:
Create an Active field in ALM with a name (suppose “Learning Categories”) and make it multi-valued and
groupable only.

active_field

Now that the Active field is created, admin will have to generate the user groups by assigning a user with
the values of the Learning Categories. Create a dummy user and assign all the Learning Categories
values in CSV format.

Once a single is user added with these values the corresponding user groups will get auto generated.
ALMHeadlessAPI

Assign the user groups to the relevant Catalogs as per your requirement.

Learner Side workflow Implementation:
When user selects learning category A, B and C and saves it to their profile, make a user PATCH API call using
the below admin endpoint
PATCH /users/{id}
Sample Payload
{ “data”: {
“id”: “15263446”,
“type”: “user”,
“attributes”: {
“contentLocale”: “en-US”,
“email”: “adobeanupam@gmail.com”,
“enrollOnClick”: true,
“fields”: {
“Data Source”: “FTP-Connection-108079”,
“Learning Categories”: “A,B,C”,
“Gender”: “F”,
“demo”: “A”,
“Age”: “25”,
“Location”: “BLR”
},
“gamificationEnabled”: false,
“lastLoginDate”: “2023-07-28T11:42:24.000Z”,
“metadata”: {},
“name”: “Anupam Gogoi”,
“pointsEarned”: 5600,
“pointsRedeemed”: 200,
“profile”: “Engineer”,

“roles”: [
“Learner”,
“Admin”,
“Author”,
“Instructor”,
“Integration Admin”,
“Manager”
],
“state”: “ACTIVE”,
“timeZoneCode”: “IST”,
“uiLocale”: “en-US”,
“userType”: “Internal”,
“userUniqueId”: “adobeanupam@gmail.com”
},
“relationships”: {
“account”: {
“data”: {
“id”: “108079”,
“type”: “account”
}
},
“manager”: {
“data”: {
“id”: “20941371”,
“type”: “user”
}
}
}
}
}

After the patch API is successfully executed the user will get added to the user groups Learning Categories A,
Learning Categories B and Learning Categories C, which in turn will give him the access to the Catalogs to
which these user groups are assigned.

0 Comments
Add Comment