Questions tagged [fileupload]

For questions related to the lightning:fileupload component

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

File Upload from Salesforce to External system

I've a requirement to upload a file from salesforce UI to an external doc management system without Apex callout. One of the recommendation was to use tus(third party tool) file upload https://tus.io/....
0
votes
1answer
23 views

Is there a way to send attachement image to Salesforces server with Web to leads forms or Web to case & with using AJAX?

So what I am looking for in an indication, because all articles I read about when it comes to sending attachment are dealing with web to lead or web to case forms with default submission! But what ...
0
votes
0answers
38 views

Aura Upload file with inputfield/required field

I have an Aura component with the upload component, but now I want to add an inputfield which information should also stored in the file information. How can I add the information for the ...
0
votes
1answer
22 views

Preview issue for non System Admin users

I am using Lighting:fileCard in the aura component and the System admin can see the preview of the file but not the other user with different Profile. <aura:component> <lightning:fileCard ...
3
votes
1answer
119 views

Uploading Multiple file using fileReader in lwc

I am trying to upload multiple files using lightning-input type="file" below is the code. HTML <lightning-input type="file" onchange={handleOnFileUpload} name="uploadFile&...
0
votes
0answers
13 views

Upload file without RecordId ContentDocumentLink

I am trying to upload a file from Lighting component. and I am using ContentVersion to upload file (successfully uploads) and ContentDocumentLink to get a link so that I want to share it publicly. But ...
0
votes
0answers
29 views

Upload csv files from ftp into SF via Apex (without insertFile Tag) [duplicate]

I want to automatically upload csv files into Salesforce on a regular basis, doing a scheduled job. I want to have this job centralized so that everybody has access to the code and the process. I want ...
1
vote
0answers
17 views

FSL - Select Files Button Not Working for Multiple Photo Upload on IOS device as a part of Screen File Upload compoent

I am using FSL Mobile Flow, to upload multiple files but in IOS Device I have facing an issue with the 'Select File' Button it's not taking photos from a file manager, the screen gets loading every ...
0
votes
1answer
55 views

(LWC) Your company doesn't support the following file types: .csv

This is in a Full Sandbox. Been using an LWC which I created to accept a .csv file upload. It's been working for months with no issues. Today I went to test a new dataset and received the following ...
0
votes
0answers
14 views

uploading files into object related list

I have a requirement where i need to upload files into an object related list(notes & attachments section),i just written a code in component and controller, but it does'nt seems to be worked,...
0
votes
0answers
38 views

File upload not working in Lightning and Safari browser

I am unable to upload files in Lightning, using Upload Files option in Safari browser. Repro Login as an admin or standard user Go to opportunity record Hover the mouse cursor & Click on the '...
0
votes
0answers
36 views

Is it Possible to save particular files anywhere in salesforce?

<template> <lightning-card title="LWC File Upload Example" icon-name="custom:custom19"> <lightning-file-upload label="Attach CSV file" ...
0
votes
0answers
20 views

Flow upload file component

I create a flow which allows the user to upload a file, for this case I use the lightning component "file upload". I also create two required custom fields and I add the fields also to the ...
0
votes
1answer
130 views

Error: Received exception event aura:systemError from server

I have create a file upload wizard (using lightning:input type="file") in which am trying to upload file upto 5MB. Am able to successfully upload file till 2.8MB but not sure after that am ...
0
votes
0answers
56 views

how to POST csv file in the google drive using google drive api integration from apex

I have successfully integrated the google api services and also i am abe to create .CSV fine in the google drive.But the data inside the CSV file is null(it must be due to incorrect or in proper body ...
0
votes
0answers
24 views

How to reset uploading file using lightning file upload after clicking on cancel button in lwc [duplicate]

When I click on new button to uploading a file and click on cancel button, then again I click on new button I want to reset the previous uploaded file from there. *...
0
votes
1answer
85 views

How to reset uploading file in lwc

When I click on new button then I uploaded the file using lightning file upload now if i'm clicking on cancel button, then I'm again click on new button then the previous uploaded file is there. How ...
0
votes
1answer
23 views

Open Standard Select Files Modal via lighting web component

I have a community page which consist of a lightning-datatable filled with Opportunity records. As an action of the table I need to add Add Files action. Onclick of this action, user should see the ...
0
votes
1answer
28 views

Add required field to file upload

I created two custom fields at the files object which are required. How can I add this fields to a flow with the file upload component? I know how can I add fields to the Screen Flow, but the Upload ...
0
votes
0answers
44 views

Multiple File Uploading using lightning input tag with type=“file”

I have found this code on internet and change it as per my need, but this code is not working if i increases the MAX_FILE_SIZE in helper component: <aura:component implements="forceCommunity:...
0
votes
0answers
49 views

app_storefront_base not uploading to sandbox

I am unable to upload app_storefront_base cartridge using prophet uploader to my sandbox, when I run the command, Prophet:Clean Project/ Upload All. All the other cartridges are uploaded, only the ...
0
votes
0answers
9 views

Attach files to email [duplicate]

I have a custom object 'interview outcome' that is used to sent automatic email via process builder to update the candidate about the interview outcome. I want a field 'Attachment' so that the admin ...
0
votes
1answer
46 views

What data type can be used to support file uploads in Salesforce?

I have a custom object and I want to add a new field to support file attachments. For example, while creating new record, I want the user/admin to have an option to attach files to that record during ...
1
vote
0answers
42 views

Constructing a multipart/form-data request for transmitting a PDF to an external service [duplicate]

I'm trying to make a POST request to this specific endpoint from Apex to include what is required; a task Id and a single file. It has been very difficult. At first, Bad Request responses was all I ...
0
votes
1answer
175 views

Invalid Field Count when uploading .csv file to a data extension [duplicate]

ValidationErrors: CaseSensitiveSalesforceID: 99 Required Field: 7 Invalid Field Count: 1 I'm trying to data load a .csv files, everything matches accordingly, trying to troubleshoot what this error ...
1
vote
1answer
92 views

File Upload Making as Public - Image is not Showing in HTML img tag

I am Uploading the Image from LWC page by using lightning-file-upload and Making the Image as Public accessible as Below ContentVersion cv = [select id from contentversion where contentdocumentid =:...
1
vote
1answer
156 views

Image Upload in LWC - Public Link

Trying to Upload image file in LWC by using lightning-file-upload Below is My Code. Is there any Way i can get the Public Link once upload got Successfully in LWC? HTML <lightning-file-upload ...
1
vote
0answers
35 views

Can I upload a file to Salesforce CRM using AMPScript from a server side Cloud Page?

We want to make a form using Clod Page that will allow the users to upload an excel. Then we want to upload that excel to our Salesforce CRM. I found a few ways to send the file to MC server-side page ...
0
votes
0answers
47 views

Restrict certain extensions on lightning component file upload

I have a lightning component for uploading files on salesforce. On the code, I have listed all the acceptable file extensions allowed like this <aura:attribute name="accept" type="...
1
vote
1answer
83 views

Override the lightning-file-upload error message with addError message in LWC

I have a Trigger written on ContentDocumentLink, which validates file attached on Opportunity. If there are any errors then we are using addError() in the Trigger to display those errors. On UI it is ...
1
vote
2answers
59 views

Can you use lightning-file-upload without saving?

In LWC, is it possible to use the lightning-file-upload component without saving the file to a ContentDocument? I am going to be uploading it to another server via an API and don't need/want it saved ...
1
vote
1answer
326 views

Community - Flow - Upload File to custom object fails with error 'Can't upload …'

This error shows up while trying to upload a file from within a community flow as a registered user and to a custom object created by the registered user himself: I'm using the standard lightning ...
0
votes
1answer
23 views

Rich Text pictures - how to find and manage them

is there a way to find and address picture uploaded via Rich text editor? How they are stored in system? Can reuse uploaded files somehow in different rich text field?
0
votes
1answer
29 views

optional file upload in <lightning:input …> [closed]

I'm using <lightning:input ... type="file"> to allow file upload on the UI. Is there any way I could make it optional in the component itself? instead of taking care of the check ...
0
votes
1answer
26 views

What events we can use other than uploadfinished for lightning-file-upload?

I need to have a way to display wait indicator/spinner when user has selected a file and till the time below pop comes? When selecting large size files it is taking time and seems confusing to end ...
0
votes
0answers
107 views

File Upload LWC along with record type id

The reason I try to develop File Upload component is to get over the Record Type Issue here . I follow the documentation and try to get it upload by defining record type id mentioned in documentation ...
0
votes
2answers
26 views

Unable to restrict Multiple File Uploads using Lightning:FileUpoad

Am using LightningFileUpload component with Multiple set to false.But i still get the option to upload multiple files, upload button is not disabled after single file upload. Will this false attribute ...
0
votes
0answers
35 views

How can I add attachment to related list of object when the user is not logged in?

I have a Visualforce page with lwc components in Site, which does not require user to log in. Here the requirement is to upload a file as attachment to a Custom object. In other places we had login ...
0
votes
0answers
25 views

upload file in lightning component, have it appear on files related list on the object?

i'm working on a custom lightning component, and i want the user to be able to attach a document (multiples allowed) and have it attach to the files related list, file format should be pdf. i also ...
1
vote
1answer
65 views

Upload ContentVersion to SF via JS

I am developing a visualforce page. I'm trying to upload pdf-file from remote server in contentversion , here is part of my code: let response = await fetch('http://www.africau.edu/images/default/...
0
votes
0answers
17 views

Upload files via lightning:fileUpload

I am developing a visualforce page. I need to download several pdf files from remote server to ContentVersion. I was surprised that I can't directly upload fetched file's blobs to the lightning:...
3
votes
1answer
217 views

LWC: Standard file upload does not update field in file-field-name attribute

I'm using my LWC to upload photos as Files for a specific Custom Object within a community. <lightning-file-upload label="Upload your photo" record-id={obj.Id} onuploadfinished={...
0
votes
0answers
20 views

Lightning input File upload

Can anyone suggest me what is the limit of file upload using lightning input. I am uploading file content chunk by chunk.. Some help articles suggest of 4.5 MB being the limit but i get size error on ...
0
votes
0answers
19 views

'Add Files' button not showing in Files Related List in Case object

'Add Files' button not showing in Files Related List in Case object. This is happening for a single odd users. other users having same profile is having that button. What can be the issue?
0
votes
1answer
248 views

Drag Drop from Popup not working on Mozilla Firefox and Internet Explorer for lightning-input type=“file” in LWC

I have the following code for File input in LWC. The drag-drop works fine for chrome, edge browser. But for Mozilla Firefox browser and Internet Explorer, If we select the button and open the popup ...
0
votes
0answers
27 views

How to create a public Url for an attachment? [duplicate]

I used a lightning:fileUpload to insert a file into the Attachment object: <lightning:fileUpload recordId="{!v.patientId}" aura:id="fuploader" name="files&...
0
votes
1answer
658 views

Guest users are unable to upload a file in a community

We have a community which has a lightning:fileUpload component for guests to upload anonymous file attachments. At the point of creation the attachments have no parent and are assigned to the default ...
0
votes
0answers
41 views

Marketing Cloud Automations Failing - Transfer Activity - Eye Symbol

We started experiencing a group of automations failing. Automations that hadn't failed in the past but for some reason began to fail upon the file transfer activity. When I look at the file transfer ...
0
votes
1answer
310 views

Unable to upload large files (not above 4MB) as attachment with apex class method from LWC. How to overcome this issue?

LWC method to convert selected file content to base64 String and call the apex method for uploading as related Notes and Attachment on a particular record myComponent.js const toBase64 = file => ...
0
votes
1answer
191 views

Restrict file size Lightning file upload?

I have a Lightning file Upload component I am using Lightning:fileupload . so user tries to upload more than 100MB. I want to show an error message, it is possible?