What is the best way to implement leaderboard in JCR? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BrianKasingli

@adilmo 

If you plan to create your own leader board it would be a bunch of work. You would need front-end developers, back-end developers, and also an AEM architect. The front-end developers will focus on the aesthetics & business logic of how the leader board looks like which will be presented to the users via a JavaScript application. The backend developers will need to create API's exported in JSON for the JS application to consume. And lastly, the AEM architect may be involved in planning out what data will be considered to rank each member in your site while working with the business objectives. This can be is a labor-intensive job, but depending on what the requirements are.

 

If you are on a budget and a JS application is not an option, then you can use Jquery with DataTables, https://datatables.net, and a couple of custom servlets. 

 

What kind of leadership data are you showing? User Data? Stack Exchange Data?

How are you planning to access this custom leadership board? Password Protected Area? Public (publish environment)? Author environment?

 

However, Adobe has a product that is called AEM communities, which is an AEM addon, the out of the box features should have what it takes to get you started. https://experienceleague.adobe.com/docs/experience-manager-65/communities/administer/implementing-scoring.html?lang=en#administer

 

2 replies

Vijayalakshmi_S
Level 10
March 22, 2021

Hi @adilmo,

Leaderboard component is available as part of AEM communities. 

More details about it from the docs - https://experienceleague.adobe.com/docs/experience-manager-65/communities/authoring/enabling-leaderboard.html?lang=en#authoring

 

Adilmo
AdilmoAuthor
Level 4
March 22, 2021
thanks vijayalakshmi .... We would like to implement this in a generic way not just for user profiles. Is this component open source ?? We would like to understand the underlying data structure used to track leaderboard scores.
BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 22, 2021

@adilmo 

If you plan to create your own leader board it would be a bunch of work. You would need front-end developers, back-end developers, and also an AEM architect. The front-end developers will focus on the aesthetics & business logic of how the leader board looks like which will be presented to the users via a JavaScript application. The backend developers will need to create API's exported in JSON for the JS application to consume. And lastly, the AEM architect may be involved in planning out what data will be considered to rank each member in your site while working with the business objectives. This can be is a labor-intensive job, but depending on what the requirements are.

 

If you are on a budget and a JS application is not an option, then you can use Jquery with DataTables, https://datatables.net, and a couple of custom servlets. 

 

What kind of leadership data are you showing? User Data? Stack Exchange Data?

How are you planning to access this custom leadership board? Password Protected Area? Public (publish environment)? Author environment?

 

However, Adobe has a product that is called AEM communities, which is an AEM addon, the out of the box features should have what it takes to get you started. https://experienceleague.adobe.com/docs/experience-manager-65/communities/administer/implementing-scoring.html?lang=en#administer

 

Adilmo
AdilmoAuthor
Level 4
March 23, 2021
We are just trying to show most frequent searched terms in aem... Just want to understand if there is a way to implement sortedsets in jcr...