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
BedrockMission!

Learn More

View all

Sign in to view all badges

Asset Upload from a WorkflowProcess step on AEM as Cloud service

Avatar

Avatar
Level 1
andrija_sm
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
andrija_sm
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
andrija_sm
Level 1

13-04-2021

What is the recommended way to upload a file as a DAM asset from a workflow process step (WorkflowProcess) on AEM as Cloud service?

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/admin/developer-refe... proposes open source upload libraries: https://github.com/adobe/aem-upload.

 

However I am not using HTTP API, I am generating a file and have a need to perform the upload within a workflow step, this happens entirely on the back-end.

Prior to Cloud we were using com.day.cq.dam.api.AssetManager createAsset method, but based on previous document, this is now deprecated. What is the official recommendation?

 

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

13-04-2021

@andrija_sm  - The architecture of the AEM cloud is different than AEM 6.5 and below. When you upload Assets to AEM cloud, they are not uploaded to AEM but to the backend data store and AEM just gets the signed URL to read/update the binary from Datastore. So, it's not comparable with traditional AEM instances where assets were directly uploaded to AEM

 

AEM Cloud can be configured to use direct binary upload, which means that asset binaries are no longer uploaded straight to AEM. I have used file upload before and its works without an issue.

Answers (0)