HI ,
I Have a requirement to upload Folders to DAM. I Intend to use Applets.
If anyone has already implemented the same either using applets or any other means Please let me know.
If not please provide some links to implement the same .
Thanks in Advance
---Harry---
Solved! Go to Solution.
Views
Replies
Total Likes
Here is a Stackoverflow thread that talks about uploading folders:
http://stackoverflow.com/questions/10399743/jquery-file-upload-plugin-cant-drop-folder
Now to use with AEM - you will have to modify the Servlet code (shown in the above article) to handle folders.
Views
Replies
Total Likes
I have not heard of anyone using Applets and AEM. I would use a FileUploader on the web page and code a Sling Servlet on the backend to place the files in the DAM.
http://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
Views
Replies
Total Likes
Using a standard HTML form with a file input it is possible to upload a file directly into the DAM. Use a form something like this:
<!DOCTYPE html>
<html>
<body>
<form method="post" action="http://localhost:4502/content/dam/geometrtixx.createasset.html" enctype="multipart/form-data">
<input type="hidden" size="20" name="_charset_" value="utf-8">
<input id="file" name="file" type="file">
<input type="submit" value="upload">
</form>
</body>
</html>
Change the path in the form action from /content/dam/geometrixx to whatever DAM location you wish.
If you select a file named my.gif, it will create an asset in the DAM at /content/dam/geometrixx/my.gif
It will go through the normal workflows to give you the various asset renditions also.
Views
Replies
Total Likes
Hi Smac /ahmed,
Thanks for the response.
But My requirement is to upload FOLDERS and NOT FILES.
Hence i thought of utilizing the applets. Please respond with a suitable solution for my implementation.
Thanks in advance
Harry
Views
Replies
Total Likes
Here is a Stackoverflow thread that talks about uploading folders:
http://stackoverflow.com/questions/10399743/jquery-file-upload-plugin-cant-drop-folder
Now to use with AEM - you will have to modify the Servlet code (shown in the above article) to handle folders.
Views
Replies
Total Likes