Generate the refresh token
The AEM Admin requires a refresh token from the Learning Manager account. The Learning Manager Integration Admin will generate the refresh token.
-
Approve the AEM Sites featured app.
Click Applications > Featured Apps > Adobe Experience Manager - Sites.
Approve the app
-
Click Applications > Featured Apps, and open the AEM sites application.
Copy the Application ID and the description.
-
Click Developer Resources > Access Tokens.
Generate the access tokens
-
Enter the following details:
- Client ID, which is the Application ID.
- Client secret, which is present in Description.
-
Get the OAuth code. You must use v2 API in the redirect URI.
-
Click Submit and get the refresh token.
Configure the widget in AEM
For widget configuration, the AEM author only requires the refresh token provided by the Learning Manager Integration Admin.
You can also set multiple account configurations in multiple pages.
- Click Tools > Cloud Services > Learning Manager Widget Configuration.
- Click Create.
- Enter the refresh token here. Set up the other settings.
- Hostname should be changed to “learningmanagereu” for EU regions.
- Save and close the configuration.
- Select a configuration and publish the configuration.
AEM Author
The AEM author must first add the component in AEM template
The AEM author then will be able to drag and drop the Adobe Learning Manager component and configure accordingly.
Learning Manager component requires the configuration created in above step to be mapped to the Page. Author can map the configuration by Editing Page Properties under Advanced > Configuration > Cloud Configuration and provide path of configuration. In this way, Author can create configurations for multiple Learning Manager accounts and map each one to different Sites Page. If a configuration is not mapped to the Page, component will read the configuration from Parent Page recursively until it finds one.
Learner
The learner can take the courses from within the page.
To be able to access the Learning Manager widget, Learner should be a logged in AEM user. Also, property email should be present in “/profile” node of Learner’s rep:User node. This email should be exactly same as the one present in Learning Manager account.
The learner can take the courses from within the page.
The course progress also gets saved.
The following widgets are provided:
- Gamification
- Learning calendar
- Social widget
- Catalog widget
- My Learning
- Recommendation based on peer learning
- Recommendations by admin
- Recommendation based on learner interests
If there are no recommendations, the widget appears blank.