Skip to main content
10 events
when toggle format what by license comment
Feb 26, 2021 at 8:30 comment added Sarang Just to add here, lightning:input of type = "file" has file size limitation.
Jun 15, 2020 at 8:11 history edited CommunityBot
Commonmark migration
Nov 1, 2018 at 20:19 history edited Jayant Das CC BY-SA 4.0
added 27 characters in body
Nov 1, 2018 at 20:18 vote accept Madhurima
Nov 1, 2018 at 20:14 comment added Jayant Das It should be a valid recordId. But again, using that way may require a lot more custom approach. I have added another option that you can take here by using lightning:input type=file, which can work.
Nov 1, 2018 at 20:13 comment added Madhurima Then if I set an aura attribute with a hard-coded Id value and set that in the recordId field, that would work too right?
Nov 1, 2018 at 20:08 history edited Jayant Das CC BY-SA 4.0
added 237 characters in body
Nov 1, 2018 at 20:06 comment added Jayant Das Without a recordId, you cannot. Another way would be to associate the files being uploaded to a "dummy" record and as soon as your record gets created, associate it back to the new record. You will just need to write some trigger/custom logic out there.
Nov 1, 2018 at 20:05 comment added Madhurima As, in my case record gets created from the form where I have the fileupload functionality, it would be impossible to get record id in there. Is there any other way I can do multiple file upload?
Nov 1, 2018 at 20:01 history answered Jayant Das CC BY-SA 4.0