file upload - allow multiple attachments at once

I'm shocked that this isn't an idea yet!
I'd love to be able to select 10 or 20 items in a folder and drag them onto the file upload component to attach them to a record. As it is, we can only upload one at a time.
I'd love to be able to select 10 or 20 items in a folder and drag them onto the file upload component to attach them to a record. As it is, we can only upload one at a time.
16
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000008ZVcdEAG
Right, Skuid?
Thimo from GBC has written a custom component for this which allows the user to select multiple files.
@Thimo GBC can you share this here please?
I wrote a custom component, that allows you to upload multiple files. Aswell as some other nice things like After Upload Actions and typeΒ restrictions.
You can download it here:Β http://bit.ly/1MP2ozX
But please remember, It is still kind of in a beta phase. Use it at your own risk:
Quick Tutorial:
1. Install the component as you would install the progress indicator (http://help.skuidify.com/m/11720/l/451511-progress-indicator-component)
2. To use it, you need to have 2 extra models in your page. One referencing to skuid_image__c and one to Attachment
3. The rest should be self explaining
Nice work!
If I only want to use the component to upload attachments (not images), how would I go about that? A basic test doesn't seem to be working for me.
For uploading only attachments, create 3 Models.Β
One where your attachments should be stored with Fields for every single file (as you would need with the standard file upload), one to skuid_image__c and one to Attachments. IMPORTANT: on these "helper-models" remove the load on page load and do NOT create a new row if none.
Drag in the Component, and select your models and the number of attachments you want to upload (max. 5 atm) and link all your fields there.
In the upload later you can select in the filepicker as many files as you like, but only as many you chose as limit or less will be uploaded. Later, if you upload again, it fills the remaining attachment fields and does not override the old attachments. (Our use case was an image gallery, thats why)
If you want all files possible simply don't check the box "only images".
To download, delete or view your uploaded files you would still need the File Upload from skuid.
What would it take to change the upload type to content?
Attachments have a 50mb limit and content has a 2gb limit.
I could try that yes.
I'm happy to say that Shmuel is right, you can now upload multiple attachments as of Brooklyn Update 1, available from the Skuid Releases Page.
As a reminder, Salesforce does not allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.
After upload actions were added - if you look at the properties of the File Upload component, one of its tabs is "On-Upload Actions." You can add actions on upload success and upload failure.
There are probably a few different ways to achieve what you want. If you're uploading files in attachment to record, I have one possible way for you: You could add an Attachments model to your page and set a condition on it so that the parent id is always the Id from the model you're attaching records to. Then, in your On Upload Success Actions, query the Attachments model. If you show the attachments model in a table on your page, you can watch as the files you upload get added to it (and if you set the table's default mode to edit you could easily edit file descriptions as they show up).
I can drag and drop multiple files in the skuid file upload component but when using a mobile device, I can't multi-select files. Do you know if there is way to do this?