asset-share-commons icon indicating copy to clipboard operation
asset-share-commons copied to clipboard

Asset upload through ASC compatible component

Open deepkamal opened this issue 6 years ago • 5 comments

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

deepkamal avatar Oct 02 '19 15:10 deepkamal

@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.

davidjgonzalez avatar Oct 14 '19 15:10 davidjgonzalez

@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.

deepkamal avatar Oct 15 '19 07:10 deepkamal

@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.

davidjgonzalez avatar Oct 15 '19 14:10 davidjgonzalez

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.

deepkamal avatar Oct 31 '19 07:10 deepkamal

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.

morly avatar Jan 22 '20 05:01 morly