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
Solved! Go to Solution.
Views
Replies
Total Likes
@gangula2018 - 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.
@gangula2018 - 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.
Thanks,
what are the options, now if we need to perform a dam upload within a workflow process step?
Views
Replies
Total Likes