DAM Upload in component dialog | Community
Skip to main content
gowrishankarp21
Level 2
September 15, 2017
Solved

DAM Upload in component dialog

  • September 15, 2017
  • 4 replies
  • 2641 views

Need to provide dam upload option in component dialog to upload assets to a particular dam path in touch UI.

Is there any OTB component available for this. If not,kindly suggest an approach. Is there any similar component available to refer.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Prince_Shivhare

Tricky one..

Check the above link given by Scott, however you can also refer this:

Managing Assets with the Touch-Optimized UI

check the functionality of Uploading Assets. you will get to know about the concept.

Regards,
Prince

4 replies

smacdonald2008
Level 10
September 15, 2017

The Grainte API does not support this widget OOTB. However - you can build it.

Create a custom Sling Resource Type using a JQuery Plug-in that will have a drop zone on it or button and then perform a AJAX call that uploads a file to a Sling Servlet that will upload the file to the AEM DAM using Asset Manager API.

Combine these 2 articles -

Scott's Digital Community: Uploading files to Adobe Experience Manager DAM using AssetManager API

Scott's Digital Community: Creating a custom Experience Manager sling:resourceType for Touch UI

That is your solution...

Prince_Shivhare
Community Advisor
Prince_ShivhareCommunity AdvisorAccepted solution
Community Advisor
September 15, 2017

Tricky one..

Check the above link given by Scott, however you can also refer this:

Managing Assets with the Touch-Optimized UI

check the functionality of Uploading Assets. you will get to know about the concept.

Regards,
Prince

smacdonald2008
Level 10
September 15, 2017

Yes - you can read that link provided by Prince. However - it will give you some background. TO get a field in a component dialog to upload an Asset to the DAM - you will need to build a custom Sling Resource type - like how we built the Color Picker. However - instead of using Color Picker - use upload logic to a Sling Servlet - similiar to the other article that i posted.

VeenaVikraman
Community Advisor
Community Advisor
September 15, 2017

Why exactly do you need to do this ?