Repository Restructuring for AEM Communities in 6.5
- Topics:
- Upgrading
CREATED FOR:
- Admin
As described on the parent Repository Restructuring in AEM 6.4 page, customers upgrading to AEM 6.5 should use this page to assess the work effort associated with repository changes impacting the AEM Communities Solution. Some changes require work effort during the AEM 6.5 upgrade process, while others can be deferred until a future upgrade.
With 6.5 Upgrade
Prior to Future Upgrade
With 6.5 Upgrade
E-mail Notification Templates
/etc/community/notifications
/libs/settings/community/notifications
Manual migration ia needed if you want to move to new path under "/apps/settings
". You can use the Granite Configuration Manager to perform the migration.
You can perform the migration by setting the property mergeList
to true
on the "/libs/settings/community/subscriptions
" node and add an nt:unstructured
child node.
Subscription Configurations
/etc/community/subscriptions
/libs/settings/community/subscriptions
Manual migration ia needed if you want to move to new path under "/apps/settings
". You can use the Granite Configuration Manager to perform the migration.
You can perform the migration by setting the property mergeList
to true
on the "/libs/settings/community/subscriptions
" node and add an nt:unstructured
child node.
Watchwords Configurations
A Lazy Migration task is available to clean up the Communities Configurations.
The Task moves watchwords from /etc/watchwords
to /conf/global/settings/community/watchwords
.
If customized watchwords are stored in SCM, then they should be deployed to /apps/settings/...
and you must ensure that there is not an overlaying /conf/global/settings/...
configuration that would take precedence.
Migration task removes /etc
locations.
Prior to Future Upgrade
Badging Configurations
/etc/community/badging
Badge Rules:
/libs/settings/community/badging
Badge Images:
For default images: /etc/community/badging/images are moved to /libs/community/badging/images
For custom images: /content/community/badging/images
Manual Migration is required.
If your instance has customized the badging/scoring rules, there is no automated way to place all the rules under a bucket. Need customer inputs on which conf bucket (global or sitespecific) you want to use for your site.
No UI available to configure the badging and scoring for a site.
To align with new repository structure:
- Create a site context bucket using the Configuration Browser under Tools
- Go to the Site root
- Set
cq:confproperty
to the bucket path where you want to store all your settings. The same can be set via the site Edit Wizard - Set cloud config input. - Move relevant badging rules and scoring rules from
/etc/community/*
to the site context bucket created in the previous step. - Adjust badging Rules and scoring Rules properties on site root to have relative references to new rule locations.
- For example, if the poperty for
cq:conf = /conf/we-retail
, thenbadgingRules [] = community/badging/rules
if rules are now moved to this new bucket.
- For example, if the poperty for
- Similarly, adjust the references to scoring rules in a badging rule node to have a relativepath.
Finally, clean up by removing the resource /etc/community/badging
Classic Communities Console Designs
/etc/designs/social/console
/libs/settings/wcm/designs/social/console
/apps/settings/wcm/designs/social/console
Facebook Social Login Configurations
/etc/cloudservices/facebookconnect
/conf/global/settings/cloudconfigs/facebookconnect
/conf/<tenant>/settings/cloudconfigs/facebookconnect
Any new Facebook Cloud Configurations must be migrated to the New Location.
-
Migrate existing configurations in the Previous Location to the New Location.
- Manually recreate new Facebook Social Login Configurations via the AEM authoring UI at Tools > Cloud Services > Facebook Social Login Configuration.
or - Copy any new Facebook Cloud Configurations from Previous Location to the appropriate New Location, under
/conf/global or /conf/<tenant>
.
- Manually recreate new Facebook Social Login Configurations via the AEM authoring UI at Tools > Cloud Services > Facebook Social Login Configuration.
-
Update any AEM Communities Site root to reference the new Facebook Social Login Configuration by setting the
[cq:Page]/jcr:content@cq:conf
property to the absolute path in the New Location. -
Disassociate the legacy Facebook Connect Cloud Service from any AEM Communities site roots updated to reference the New Location.
Language Options Configurations
/etc/social/config/languageOpts
/libs/social/translation/languageOpts
Pinterest Social Login Configurations
/etc/cloudservices/pinterestconnect
/conf/global/settings/cloudconfigs/pinterestconnect
/conf/<tenant>/settings/cloudconfigs/pinterestconnect
Any new Pinterest Cloud Configurations must be migrated to the New Location.
-
Migrate existing configurations in the Previous Location to the New Location.
- Manually recreate new Pinterest Social Login Configurations via the AEM authoring UI at Tools > Cloud Services > Pinterest Social Login Configuration.
or - Copy any new Pinterest Cloud Configurations from Previous Location to the appropriate New Location under
/conf/global or /conf/<tenant>
.
- Manually recreate new Pinterest Social Login Configurations via the AEM authoring UI at Tools > Cloud Services > Pinterest Social Login Configuration.
-
Update any AEM Communities Site root to reference the new Pinterest Social Login Configuration by settings the
[cq:Page]/jcr:content@cq:conf
property to the absolute path in the New Location. -
Disassociate the legacy Pinterest Connect Cloud Service from any AEM Communities site roots updated to reference the New Location.
Scoring Configurations
/etc/community/scoring
/libs/settings/community/scoring
To align with new repository structure, scoring rules can be stored in /apps/settings/
or /conf/.../settings
- For
/apps/settings
, this would act as global or default rules managed in SCM.
Create context-aware configs in /conf/
by using CRXDELite:
- Create the configs in the desired
/conf/.../settings
location - Communities site must have the
cq:conf
property property set.- If no
cq:conf
is set, scoring rules would be directly read from the given path for property 'scoringRules
' at the site's root node, for example:/content/we-retail/us/en/community/jcr:content
- If no
Cleanup: Remove the resource /etc/community/scoring
Twitter Social Login Configurations
/etc/cloudservices/twitterconnect
/conf/global/settings/cloudconfigs/twitterconnect
/conf/<tenant>/settings/cloudconfigs/twitterconnect
Any new Twitter Cloud Configurations must be migrated to the New Location.
-
Migrate existing configurations in the Previous Location to the New Location.
- Manually recreate new Twitter Social Login Configurations via the AEM authoring UI at Tools > Cloud Services > Twitter Social Login Configuration.
or - Copy any new Twitter Cloud Configurations from Previous Location to the appropriate New Location, under
/conf/global or /conf/<tenant>
.
- Manually recreate new Twitter Social Login Configurations via the AEM authoring UI at Tools > Cloud Services > Twitter Social Login Configuration.
-
Update any AEM Communities Site root to reference the new Twitter Social Login Configuration by setting the
[cq:Page]/jcr:content@cq:conf
property to the absolute path in the New Location. -
Disassociate the legacy Twitter Connect Cloud Service from any AEM Communities site roots updated to reference the New Location.
Misc
/etc/community/templates
/libs/settings/community/templates
Adobe has provided a migration utility at:
/conf/global/settings/community/template/<groups/sites/functions>