13.9 C
New York
Saturday, March 16, 2024

Catalog Studying Object Visibility for Learners in Headless Adobe Studying Supervisor occasion.


Consumer Expertise Stream:

When a learner chooses their most popular classes, the system ought to replace the consumer particulars of that particular consumer with the chosen class info, marking it as an energetic subject worth. This energetic subject serves as a consumer attribute and in addition generates teams routinely based mostly on the assigned attribute values, including the consumer to these teams routinely. As soon as the consumer’s particulars are up to date with the energetic fields, they’re added to the corresponding teams. These teams ought to be preconfigured and added to the corresponding catalogs for show to the customers.

Consumer selects class A within the UI → Consumer particulars of the consumer ought to get patched with an energetic subject class with worth “classes”=”A” → Consumer will get auto-added to consumer group Classes(A) → Consumer group Classes(A) is assigned in Catalog X → Catalog X is seen to the learner

Pre-requisites:
Create an Lively subject in ALM with a reputation (suppose “Studying Classes”) and make it multi-valued and
groupable solely.

Now that the Lively subject is created, admin should generate the consumer teams by assigning a consumer with
the values of the Studying Classes. Create a dummy consumer and assign all of the Studying Classes
values in CSV format.

As soon as a single is consumer added with these values the corresponding consumer teams will get auto-generated.

Assign the consumer teams to the related Catalogs as per your requirement.

Learner Facet UI-API workflow Implementation:

When consumer selects studying classes A, B and C and saves it to their profile, make a consumer PATCH name utilizing
the beneath admin endpoint PATCH /customers/{id}
Pattern Payload
{ “information”: {
“id”: “15263446”,
“kind”: “consumer”,
“attributes”: {
“contentLocale”: “en-US”,
“e-mail”: “adobeanupam@gmail.com”,
“enrollOnClick”: true,
“fields”: {
“Knowledge 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”: “Inner”,
“userUniqueId”: “adobeanupam@gmail.com”
},
“relationships”: {
“account”: {
“information”: {
“id”: “108079”,
“kind”: “account”
}
},
“supervisor”: {
“information”: {
“id”: “20941371”,
“kind”: “consumer”
}
}
}
}
}
After the patch is efficiently completed the consumer will get added to the consumer teams Studying Classes A,
Studying Classes B and Studying Classes C, which in flip will give him entry to the Catalogs to
which these consumer teams are assigned.

Oh hi there 👋
It’s nice to meet you.

Sign up to receive awesome content in your inbox, every month.

We don’t spam! Read our [link]privacy policy[/link] for more info.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles