+ Start a Discussion
Eran VizelEran Vizel 

Drag & Drop Attachments For Visualforce

Hi all,

We have a customer community based on Visualforce (custom made case page).
I was trying to embbed a few drag & drop attachment apps in the page to improve the user experience, but each one had some sort of incompitability to Visualforce / external page. 

Anyone knows a drag & drop app that would fit for this scenario? Or independent way to develop it for that matter?

Many thanks,
Hi Eran

You can find a great blog by Jitendra Zaa (http://www.jitendrazaa.com/blog/salesforce/salesforce-drag-and-drop-file-uploader-component-with-progress-bar-html5-and-pure-javascript-based/) that gives an overview of doing this in JavasScript and HTML5 and there is also a free App on the AppExchange (https://appexchange.salesforce.com/listingDetail?d=70130000000sUh3&listingId=a0N30000008ZVcdEAG&RRID=123456789) you might want to look into.

Jitendra's method uses an Apex REST API but if you switched his code to using remoting you could get all the upload functionality without the progress bar (just so you have that as an option depending upon comfort).

Eran VizelEran Vizel
Hi Paul,

Thanks for your reply. I ran into both your offers yesterday before posting this. The Jitendra blog app really is good, however it can upload only 1 file at one time, which almost totally defeats the porpose...
The Cazoomi appexchange doesn't seem to work for externally used visualforces, it created an exception when trying to customly implement the section within the portal visualforce.

Any other ideas will be highly appriciated,

Thanks again,