Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Copy assets from DAM to S3 bucket programmatically

Avatar

Level 2

I have a folder in DAM, say /content/dam/documents and whenever an asset is added to this path, this should be copied to Amazon S3. 

The approach I planned was to have an event listener which will be triggered whenever a node is created in this path.

However, I'm not sure how this asset could be copied to S3 when this event is triggered. 

I would like to know how this connectivity could be established between S3 and AEM and if there are any technical documentations available on this topic

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @kirthi_murali ,

One out of may ways is to implement Workflow Launcher and use Java S3 Java API as mentioned here: https://stackoverflow.com/questions/66063565/aem-adobe-experience-manager-upload-only-some-assets-to...

Additionally, I would consider AssetSync - as It uses an incremental approach so only the files that have changed will be moved.

for more details please visit: https://github.com/dmitrybelyakov/dam-sync 

Hope that helps!

Regards,

Santosh

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @kirthi_murali ,

One out of may ways is to implement Workflow Launcher and use Java S3 Java API as mentioned here: https://stackoverflow.com/questions/66063565/aem-adobe-experience-manager-upload-only-some-assets-to...

Additionally, I would consider AssetSync - as It uses an incremental approach so only the files that have changed will be moved.

for more details please visit: https://github.com/dmitrybelyakov/dam-sync 

Hope that helps!

Regards,

Santosh