Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [lightning-file-upload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
3k views

How to change default file upload size limit in salesforce?

In the documentation of lightning-file-upload it is stated that 'By default, you can upload up to 10 files simultaneously unless your Salesforce admin has changed that limit. The org limit for the ...
adnan_aust's user avatar
1 vote
1 answer
663 views

How to resize the <lightning-file-upload> modal on a phone in lightning web component?

I'm trying to resize the standard modal which is shown after I click on the < lightning-file-upload > tag and select images. The reason for this is because when a page is zoomed in on a phone ...
Kawadragon's user avatar
0 votes
1 answer
5k views

How to get the uploaded file's size when using lightning-file-upload?

I've tried the following but it returns 'undefined. event.detail.files[0].size
Bahman.A's user avatar
  • 858
0 votes
1 answer
235 views

How to display a list of attachments that are related with a record?

I am looking for a solution to display a list of attachments that are related with a record without allowing the user to delete the existing files and preventing him from uploading files in this ...
Lut's user avatar
  • 287
0 votes
1 answer
367 views

Salesforce: Read email attachments on file upload LWC

I used lightning-file-upload to allow Users to upload files. Now, one of the use cases is, if the file is an email (.msg file type), we need to split the attachments and upload them as individual ...
SFDev's user avatar
  • 1
0 votes
1 answer
395 views

Upload file : File Selector style

Is there a method to delete the Or drop Files and change the Upload Files with Upload Picture ? <lightning-layout-item style="width:35%"> <lightning-spinner if:...
mary snh's user avatar
0 votes
1 answer
2k views

Filereader.readasDataUrl is not throwing error when file is uploaded through lightning-file-upload

I have an LWC component which takes xlsx/xlsm file as input and sends the file data to an API as input. Initially, I used lightning-input with type=file which is working as expected for files <3MB ...
Chinni Vishnu Kalyan's user avatar
0 votes
1 answer
2k views

upload a file using <lightning-file-upload> on the click of a button or remove the file upload on the click of a button?

I want to upload a file of the click of "save" btn and not upload it if the user click on "cancel" btn. But as soon as i select a file it automatically gets stored in data base ...
Shashwat Chaturvedi's user avatar
0 votes
0 answers
575 views

How to extend lightning-file-upload functionality?

We are Salesforce Files users. We use the ContentDocuments object and create multiple ContentVersions per ContentDocument. I have been implementing a new tool to upload files and I evaluated 2 ...
Alex Cortes's user avatar