Assets Repository Restructuring in AEM 6.5
- Topics:
- Upgrading
CREATED FOR:
- Admin
As described on the parent Repository Restructuring in AEM 6.5 page, customers upgrading to Adobe Experience Manager (AEM) 6.5 should use this page to assess the work effort associated with repository changes impacting the AEM Assets 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
Before Future Upgrade
With 6.5 Upgrade
Misc
If any custom code depends on this location–that is, the code explicitly relies on this path–then the code must be updated to use the new location before upgrading. Ideally, Java™ APIs are used when available to reduce dependencies on any specific path in the JCR.
Temp location to hold a zip file for the client to download. There is no need to update since when the client requests to download the asset. It generates a file in the new location.
Before Future Upgrade
Asset/Collection Event E-mail Notification Template
/etc/notification/email/default
/libs/settings/dam/notification
/apps/settings/dam/notification
If the e-mail templates were modified by the customer, then perform the following actions to align with the new repository structure:
- The
/libs/settings/dam/notification
e-mail template should be copied from/etc/notification/email/default
to/apps/settings/notification/email/default
- Because the destination is in
/apps
, this change should be persisted in SCM.
- Because the destination is in
- Remove the folder:
/etc/dam/notification/email/default
after the e-mail templates within it have been moved.- If no updates were made to the e-mail template under
/etc/notification/email/default
, the folder can be removed as the original e-mail template exists under/libs/settings/notification/email/default
as part of AEM 4 install.
- If no updates were made to the e-mail template under
Classic Asset Share Designs
/etc/designs/assetshare
/libs/settings/wcm/designs/assetshare
/apps/settings/wcm/designs/assetshare
For any Designs that are managed in SCM, and not written to at run-time by way of Design Dialogs, perform the following actions to align to the latest model:
- Copy the designs from the Previous Location to the New Location under
/apps
. - Convert any CSS, JavaScript, and static resources in the Design to a Client Library with
allowProxy = true
. - Update references to the Previous Location in the
cq:designPath
property by way of AEM > DAM Admin > Asset Share Page > Page Properties > Advanced Tab > Design Field. - To use the new Client Library category, update any Pages referencing the Previous Location. This requires updating the Page implementation code.
- Update the Dispatcher rules so you can allow serving of Client Libraries by way of the
/etc.clientlibs/
proxy servlet.
For any Designs that are not managed in SCM, and modified run-time by way of Design Dialogs, do not move authorable designs out of /etc
.
Download Asset E-mail Notification Template
/etc/dam/workflow/notification/email/downloadasset
/libs/settings/dam/workflownotification/email/downloadasset
/apps/settings/dam/workflownotification/email/downloadasset
If the e-mail templates (downloadasset or transientworkflowcompleted) have been modified, then follow the below procedure to align to the new structure:
- The updated e-mail template should be copied from
/etc/dam/workflow/notification/email/downloadasset
to/apps/settings/dam/workflow/notification/email/downloadasset
- Because the destination is in
/apps
, this change should be persisted in SCM.
- Because the destination is in
- Remove the folder:
/etc/dam/workflow/notification/email/downloadasset
after the e-mail templates within it have been moved.- If no updates were made to the e-mail template under
/etc
, the folder can be removed as the original e-mail template exists under/libs/settings/dam/workflownotification/email/downloadasset
as part of AEM 6.4 install.
- If no updates were made to the e-mail template under
/conf/global/settings/dam/workflownotification/email/downloadasset
is technically supported for look-up (takes precedence before /apps by way of usual Sling CAConfig lookup, but after /etc
) the template could be placed in /conf/global/settings/dam/workflownotification/email/downloadasset
. However, this is not recommended as there is no runtime UI to facilitate the editing of the e-mail template.Example DRM Licenses
/etc/dam/drm/licenses/
/libs/settings/dam/drm
Link Share E-mail Notification Template
/etc/dam/adhocassetshare
/libs/settings/dam/adhocassetshare
/apps/settings/dam/adhocassetshare
If the e-mail template was modified by the customer, then to align with the new repository structure:
- The updated e-mail template should be copied from
/etc/dam/adhocassetshare
to/apps/settings/dam/adhocassetshare
- Because the destination is in
/apps
, this change should be persisted in SCM.
- Because the destination is in
- Remove the folder:
/etc/dam/adhocassetshare
after the e-mail templates within it have been moved.- If no updates were made to the e-mail template under
/etc
, the folder can be removed as the original e-mail template exists under/libs/settings/dam/adhocassetshare
as part of AEM 6.4 install.
- If no updates were made to the e-mail template under
/conf/global/settings/dam/adhocassetshare
is technically supported for look-up (it takes precedence before /apps
by way of the usual Sling CAConfig lookup, but after /etc
), the template can be placed in /conf/global/settings/dam/adhocassetshare
. However, this is not recommended as there is no runtime UI to facilitate the editing of the e-mail templateInDesign Workflow Scripts
/etc/dam/indesign/scripts
/libs/settings/dam/indesign
/apps/settings/dam/indesign
To Align with the new repository structure:
- Copy all custom or modified scripts from
/etc/dam/indesign/scripts
to/apps/settings/dam/indesign/scripts
- Only copy new or modified scripts as unmodified scripts provided by AEM are available by way of
/libs/settings
in AEM 6.5
- Only copy new or modified scripts as unmodified scripts provided by AEM are available by way of
- Locate all Workflow Models that use the Media Extraction Process WF Step and
- For each instance of the Workflow Step, update the paths in config to point explicitly at the proper scripts under
/apps/settings/dam/indesign/scripts
or/libs/settings/dam/indesign/scripts
as appropriate.
- For each instance of the Workflow Step, update the paths in config to point explicitly at the proper scripts under
- Remove
/etc/dam/indesign/scripts
entirely.
/apps
, since that is the location where code should be stored.Video Transcoding Configurations
/etc/dam/video
/libs/settings/dam/video
/apps/settings/dam/video
Project level customizations must be cut and pasted under equivalent /apps
or /conf
paths as applicable.
To align with the AEM 6.4 repository structure:
- Copy any modified video configurations from
/etc/dam/video
to/apps/settings/dam/video
- Remove
/etc/dam/video
Viewer Preset Configurations
/etc/dam/presets/viewer
/libs/settings/dam/dm/presets/viewer
/conf/global/settings/dam/dm/presets/viewer
For the out of the box Viewer Preset, it is only available in the new location.
For the Custom Viewer preset:
- run a migration script so you can move the node from
/etc
to/conf
. The script is at https://serveraddress:serverport/libs/settings/dam/dm/presets.migratedmcontent.json - or you can edit the configuration and they are auto-saved to the new location.
You do not have to adjust their copyURL/embed code to point to /conf
. The existing request to /etc
is rerouted to the correct content from /conf
.
Misc
/etc/clientlibs/foundation/asseteditor
/etc/clientlibs/foundation/assetshare
/etc/clientlibs/foundation/assetinsights
/libs/dam/clientlibs
Adjust any references to point to the new resources under /libs
using the /etc.clientlibs/
allow proxy prefix.
Finally, clean up by removing the folders for the migrated clientlibs from /etc/clientlibs/foundation/