Saturday, June 20, 2020

AEM Community

AEM Community

AEM Communities allows companies to create dedicated branded community experiences from a library of site templates. Forums, groups, blogs, file sharing, calendars, activity feeds, and extended user profiles can be integrated into your website to foster interactions between propsects, customers, and companies.

Key terms :

Social component framework : Components designed to enable community interactions
Community Functions : Pages with community based implementations like forms, questions answers etc
Community Groups : Sub community that provides hierarchy
Social Resource Provider : Persistence layer for the user generated contents.


For AEM Communities
The author environment is for

  • Development of sites, templates and components
  • Administrative and configuration tasks

The publish environment is for


  • The community experience of posting and moderating content
  • Creating community groups, members and member groups
Steps involved :

  1. Set up author and publisher instances
  2. Configure Analytics
  3. Configure emails for notifications
  4. Enable tunnel services : Helps in assigning roles to community members
  5. Create community administrator role : community administrators, community enablement managers
  6. Enable social login (requires oauth setting)
  7. Create tutorial tags
Storage resource providers (SRP):

Adobe storage resource provider (ASRP) :

The UGC is stored on adobe hosted and managed cloud storage.
Suitable for TarMK publish farm.

MongoDB storage resource provider (MSRP) :

Requires local solr
Suitable for TarMK publish farm
Suitable for MongoMK and RDBMK
Suitable when large volume of UGC expected

Relational database storage resource provider (DSRP) :

Requires local MySQL
Requires local Solr
Suitable for TarMK publish farm
Suitable for MongoMK and RDBMK
Suitable when large volume of UGC expected

JCR storage resource provider (JSRP) :

Storage is persisted only on local JCR repository.
Requires publish cluster
Not a good option for commercial deployments

UGC is never replicated

Do not assume there is JCR nodes use UGC APIs.

User related data is replicated on other publishers using sling distribution.

Dispatcher caching should be disabled for users and social json calls.

Community site can be created quickly using community site wizard.
  1. Choose site template and provide basic details like title, language, description
  2. Select site theme/design
  3. Banner image
  4. Settings like users, roles, tagging, moderation, analytics, translation etc
  5. Publish the site
  6. You can also configure default home page and modify the site as requirements
All communities contents go through anti-samy xss protection.

Attachments can be blacklisted using DefaultAttachmentTypeBlacklistService








No comments:

Post a Comment

Some more AEM 6 Interview Questions for Architects

 Some more AEM 6 Interview Questions for Architects 1. Consider you have a workflow with two steps. One step is to transfer the asset from s...