file upload - allow multiple attachments at once

Matt SonesMatt Sones πŸ’ŽπŸ’ŽπŸ’Ž
edited February 17, 2020 in Ideas
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.
16
16 votes

Implemented Β· Last Updated

Comments

  • edited March 23, 2016
    Hey Matt did you ever find a solution to this? This would be great. There are appechange apps that can do it:

    https://appexchange.salesforce.com/listingDetail?listingId=a0N30000008ZVcdEAG
  • Matt SonesMatt Sones πŸ’ŽπŸ’ŽπŸ’Ž
    edited February 10, 2017
    I haven't tried to integrate with any of the other apps. I'm just waiting for skuid to upgrade the file component. Seven votes is pretty high for this forum, so I'd think it wouldn't be too far down the roadmap.

    Right, Skuid? ;)
  • edited February 17, 2020
    Hi Matt

    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?


  • edited November 2, 2017
    Hi Matt

    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 :)
  • Rob HatchRob Hatch πŸ› οΈ ο»Ώ
    edited September 1, 2016
    Thanks for sharing Thimo!Β 
  • Matt SonesMatt Sones πŸ’ŽπŸ’ŽπŸ’Ž
    edited February 10, 2017
    Thimo,

    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.
  • edited January 12, 2017
    @Matt

    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.
  • edited November 2, 2016
    Thimo,

    What would it take to change the upload type to content?

    Attachments have a 50mb limit and content has a 2gb limit.
  • edited December 22, 2016
    You mean changing it to use the Content instead of the Attachment?

    I could try that yes. :)
  • edited November 10, 2016
    Yes, that's exactly what I mean :)! Can I help in any way?
  • edited November 2, 2017
    Will this idea be delivered in the Brooklyn release?
  • Matt SonesMatt Sones πŸ’ŽπŸ’ŽπŸ’Ž
    edited December 7, 2016
    doesn't look like it from the release notes
  • edited November 30, 2016
    Are the release notes really exhaustive?Β 
  • edited November 2, 2017
    Delivered baby! W00t!
  • Amy DewaalAmy Dewaal πŸ’Ž
    edited February 4, 2020
    Hi guys,

    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.

  • edited March 17, 2017
    Hi, were "after upload" actions added also? if so, how can this be done?
  • Mark DeSimoneMark DeSimone πŸ› οΈ ο»Ώ
    edited March 19, 2017
    Hi Alexey, you may be able to achieve this by adding a model action to the uploaded file's model, that would be triggered whenever there is a change to something like the filename field.Β 
  • Amy DewaalAmy Dewaal πŸ’Ž
    edited March 22, 2017
    Alexey,

    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.
  • edited March 22, 2017
    Thanks, but how can I take only those files, that were just uploaded, to modify. Let's say I want to manually add description to each file I've just uploaded, this is supported by model actions or upload success action?
  • Amy DewaalAmy Dewaal πŸ’Ž
    edited May 5, 2017
    Alexey,Β 

    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?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!