October 22, 2024
Catalog Learning Object Visibility for Learners in Headless Adobe Learning Manager instance.

Person Revel in Waft:

When a learner chooses their most popular classes, the device must replace the person main points of that individual person with the chosen class knowledge, marking it as an lively box worth. This lively box serves as a person characteristic and likewise generates teams mechanically in line with the assigned characteristic values, including the person to these teams mechanically. As soon as the person’s main points are up to date with the lively fields, they’re added to the corresponding teams. Those teams must be preconfigured and added to the corresponding catalogs for show to the customers.

Person selects class A within the UI → Person main points of the person must get patched with an lively box class with worth “classes”=”A” → Person will get auto-added to person team Classes(A) → Person team Classes(A) is assigned in Catalog X → Catalog X is visual to the learner

Pre-requisites:
Create an Energetic box in ALM with a reputation (assume “Studying Classes”) and make it multi-valued and
groupable simplest.

Now that the Energetic box is created, admin must generate the person teams via assigning a person with
the values of the Studying Classes. Create a dummy person and assign all of the Studying Classes
values in CSV layout.

As soon as a unmarried is person added with those values the corresponding person teams gets auto-generated.

Assign the person teams to the related Catalogs as in keeping with your requirement.

Learner Aspect UI-API workflow Implementation:

When person selects finding out classes A, B and C and saves it to their profile, make a person PATCH name the use of
the underneath admin endpoint PATCH /customers/{identity}
Pattern Payload
{ “knowledge”: {
“identity”: “15263446”,
“sort”: “person”,
“attributes”: {
“contentLocale”: “en-US”,
“electronic mail”: “adobeanupam@gmail.com”,
“enrollOnClick”: true,
“fields”: {
“Information Supply”: “FTP-Connection-108079”,
“Studying Classes”: “A,B,C”,
“Gender”: “F”,
“demo”: “A”,
“Age”: “25”,
“Location”: “BLR”
},
“gamificationEnabled”: false,
“lastLoginDate”: “2023-07-28T11:42:24.000Z”,
“metadata”: {},
“identify”: “Anupam Gogoi”,
“pointsEarned”: 5600,
“pointsRedeemed”: 200,
“profile”: “Engineer”,

“roles”: [
“Learner”,
“Admin”,
“Author”,
“Instructor”,
“Integration Admin”,
“Manager”
],
“state”: “ACTIVE”,
“timeZoneCode”: “IST”,
“uiLocale”: “en-US”,
“userType”: “Interior”,
“userUniqueId”: “adobeanupam@gmail.com”
},
“relationships”: {
“account”: {
“knowledge”: {
“identity”: “108079”,
“sort”: “account”
}
},
“supervisor”: {
“knowledge”: {
“identity”: “20941371”,
“sort”: “person”
}
}
}
}
}
After the patch is effectively performed the person gets added to the person teams Studying Classes A,
Studying Classes B and Studying Classes C, which in flip will give him get right of entry to to the Catalogs to
which those person teams are assigned.

Leave a Reply

Your email address will not be published. Required fields are marked *