adobe / asset-share-commons

A modern, open-source asset share reference implementation built on Adobe Experience Manager (AEM)
https://opensource.adobe.com/asset-share-commons/
Apache License 2.0
88 stars 107 forks source link

Asset upload through ASC compatible component #455

Open deepkamal opened 5 years ago

deepkamal commented 5 years ago

ASC provides a vibrant contemporary UI/UX for assets in DAM, however there is no equally exciting component which we can use to upload assets.

we created a component that provides an upload drop zone where any asset can be dragged and dropped on browser and the component starts file upload to configured path.

image

upload path can be configured while authoring

image

it also provides option of extensibility in form of JS methods to program pre-upload and post-upload actions.

Files being uploaded after drop on designated area: image

davidjgonzalez commented 5 years ago

@deepkamal looks super cool! can you talk a little bit about where these assets get uploaded, and the how they get on AEM Author so they can undergo review/approvals/etc.

deepkamal commented 5 years ago

@deepkamal looks super cool! can you talk a little bit about where these assets get uploaded,

The assets get uploaded at configured path, defined via dialogue box

and the how they get on AEM Author so they can undergo review/approvals/etc.

currently the demo version works on Author only and there is no mechanism implemented for porting contributed assets from Publish to author - suggested approach is to activate a workflow once the assets are uploaded at Publish, the workflow definition can be included as one of the config in doalog box, pl suggest your views on this approach.

davidjgonzalez commented 5 years ago

@deepkamal ah - i think we'd need to figure out how to get this to work on AEM Publish of course (since if youre on AEM Author, just upload via the normal web ui :)) ..

I'd be interested in ideas that don't involve uploading to AEM Publish, since it can be a brittle reverse-replicating back, etc.

deepkamal commented 4 years ago

we can have asset approval workflow implemented in Publish, all uploaded assets will be going through asset-approval based on defined steps, I think approach can not be generalized here.

morly commented 4 years ago

Hi, I implemented a similar approach. After asset upload I start the asset update wf; later, the user can select assets for distributing them back to author; assets get sd between the publish instances.