Questions tagged [fileupload]

For questions related to the lightning:fileupload component

Filter by
Sorted by
Tagged with
1
vote
0answers
25 views

Customize the Size of Lightning-File-Upload

I would like to customize the size of the lightning-file-upload so that the 'dotted'/drag-n-drop area is larger. I don't see any documentation on changing that. Here is an example of what I am ...
1
vote
1answer
21 views

File Upload Screen flow component is disabled on lightning page AKA - recordId is not passing to Screenflow

I build a screen flow to upload a file to an oppty, using the fileUpload component It works great when testing the flow itself, but when adding to a lighting page, the Upload file button is disabled ...
0
votes
1answer
12 views

How to fire a process builder after a document is added to an oppty/object

I have a case, where upon adding a file/attachment to an opportunity, I need to send that attachment, as an email. I don't want to use the trigger: trigger trialFileUpload on ContentDocument (after ...
0
votes
1answer
30 views

File upload component in flow doesn't work when launched in VisualForce

I've created a Flow with a File Upload Component which works perfectly when ran as Flow. However, when I'm running the flow, via a visualforce page, the file upload component doesn't work as expected. ...
1
vote
1answer
45 views

Data Extension CSV upload - breakdown of which records were added, skipped & updated

I've added data to a Data Extension via CSV upload. I've had the confirmation email saying: "X have been inserted, X have been updated" Is there anywhere that I can see which records were inserted ...
0
votes
1answer
16 views

aura:component fileUpload

create a lightning component to upload images (fileUpload). that component goes to the registration page of a custom object, but when entering the salesforce1 application I cannot see the component. ...
0
votes
0answers
27 views

How to upload image to Salesforce from a native iOS app built using Salesforce Mobile SDK?

I want to upload an image to Salesforce database from my native iOS app built using Salesforce mobile sdk. I heard we should be making use of ContentDocument, ContentVersion & ContentDocumentLink ...
0
votes
1answer
30 views

Prevent 10MB files from attempting to upload to Salesforce

I want to utilise 10MB file limit (happy to prevent 10MB files), and the standard apex:inputFile notation. Do not want to use JS API When I use the below Apex/VF/JS I am allowed to browse and select ...
8
votes
1answer
59 views

Is there any difference between the heap consumption in sandbox and production orgs?

After creating a custom file-uploader lightning component we had the following problem : The amount of data to be passed from lightning controller to server-side controller (apex) was limited (...
1
vote
1answer
63 views

Where is a File's “Customer Access” status located?

Background (This question is a more specified version of ytiq's question File "Customer Access" Permissions) Salesforce Lightning now requires that a file have the "Customer Access" toggle set to "...
0
votes
0answers
28 views

lightning:fileupload not working in flow in Salesforce Mobile

I've built a flow that needs to allow my client to upload files on a couple of the screens. The flow needs to run inside the Salesforce mobile app on Android. I've tried both the standard flow "file ...
0
votes
1answer
65 views

lightning:fileupload - Override default error message when unacceptable file format is uploaded

I am using lightning:fileupload in my lightning page. It works fine, but I am unable to override the default error message displayed (your company does not allow the file format...etc). Business wants ...
0
votes
1answer
83 views

LWC Custom file-upload without file size limit 4Mb

Does anyone know the way to write custom file-upload on lwc based on html input and file size limit at least 20Mb?
0
votes
0answers
24 views

Error in moving audio content to azure retrieving with apex callout

I am making a callout to a 3rd party to retrieve an mp3 file The endpoint is a HTTP GET (https://media.ringcentral.com/restapi/v1.0/account/~/recording/RECORDINGID/content) The response is the actual ...
1
vote
0answers
74 views

Scan uploaded files for viruses

I have a public Salesforce Community that I use like Web To Case - for clients to create new cases in my org. For implementing that, I have developed a lightning web component that creates a case. ...
1
vote
1answer
39 views

Upload file into S3 bucket with correct format

I had uploaded a .txt file to AWS S3 bucket. on opening file, it showed data like aHR0cHM6Ly90ZXN0LnNhbGVzZm9yY2UuY29tLw== If we pass this string data ...
0
votes
0answers
12 views

Customize “File List” Community component to remove tabs like “Shared with me” and “Recent”

I have a requirement to allow community users to upload files to specific Salesforce Libraries, which I am currently satisfying using the "File List" community component. However, I only need users to ...
0
votes
0answers
25 views

Multiple File upload on public visualforce feedback form

I'd like to provide a multiple file upload module on a public visualforce page and I'm struggling with the upload process. As the upload process requires to have a record ID, how can I save the ...
1
vote
1answer
72 views

Is it possible to delete files as a guest user in a community?

Background: I have a form in a community that creates a case, and then sets that case record id on a lightning-file-upload component which allows users to upload files and attach them to the case ...
0
votes
0answers
18 views

Custom CSV Upload. Issue on getting Record's as separate row (missing /n on conversion)

I created a custom CSV file upload functionality in lightning component. I am converting the CSV file as string from component controller and passing the string to apex controller (using file reader ...
3
votes
1answer
135 views

Is it possible to upload files as a guest user in a community?

Is it possible to upload files as a guest user in a community? I am using a lightning web component lighting-file-upload component with a case's id as the recordId. The file upload works for ...
0
votes
1answer
25 views

Upload sign not showing in visualforce page

I am trying to use lightning file upload icon in visualforce page using slds.The problem is button is displaying but the upload icon is not displaying in the button it is coming blank <apex:page ...
0
votes
1answer
107 views

Lightning File preview is not working - *.csv File

I have tried using the following 2 approaches to preview a file from a Lightning quick action modal window. 1. <lightning:fileCard fileId="{!f.ContentDocumentId}" description="{!f.ContentDocument....
0
votes
0answers
18 views

Is it Possible to insert Files from VF Page using Connect APIs?

I know attachments can insert through connect API. What about Files ? I have heapsize issues while insert an document with size of 5 mb Here is My Controller to Insert a file @AuraEnabled public ...
0
votes
1answer
31 views

How to make files Archived using apex ? (isArchived = true)

I am in one of the requirements where I need to set IsArchived = true when user uploading any files using Upload files option. I thought apex trigger will work here but it doesn't trigger ...
1
vote
1answer
226 views

How to show custom error message in lightning-file-upload in lightning web component

I need to show a custom error message in lightning-file-upload when we tried to upload the unacceptable format of the file. <lightning-file-upload label="Attach receipt" ...
0
votes
0answers
47 views

Multipart multi ContentVersion Upload with Python Client

i'm trying to upload multiple files (2 in this example) with multipart using a python client. this is my request import requests import base64 import json access_token = "xxxxxx" instance_url = "...
1
vote
2answers
160 views

File content missing error while creating transient document on adobe sign using REST API

I am trying to create transient document in adobe sign using rest api. After lot of research I was able to make the correct multi form request in Salesforce Apex.But now I am getting the file content ...
6
votes
0answers
547 views

How to upload larger size file using input tag of type html in LWC

I have implemented custom file upload component using input file html tag and rendering it as browse file button. The issue with component is:- When trying to upload file more than 4 mb of size, i ...
1
vote
0answers
37 views

Not able to upload more than 5 mb file in Sharepoint from Apex Salesforce

I am using Sharepoint to upload file from Salesforce, I have integrated both system via Rest API. Below 5 mb files it's working fine, but for file larger than this I am not able to upload it. I know ...
1
vote
0answers
25 views

File Upload not working, when Flow is called via URL in Salesforce1 App

We have created a flow screen to upload a file. As per our requirement, Flow will be called via URL from a Lightning component. It works fine for Desktop. But, the file upload is not working in the ...
1
vote
1answer
184 views

How to make lightning:fileUpload component required field on flows?

I am using lightning:fileUpload component in flows embedded on community page. I want to make this mandatory/ required so that the user sees an error if they click next without uploading a file. I ...
1
vote
0answers
23 views

Image getting rotated while inserting in rich textarea field using attachament

Facing this problem while uploading image using iPhone salesforce one app. In the attachment the image is showing right, but when the same image from attachament is inserted into rich textarea it is ...
0
votes
1answer
50 views

[APEX][File System] Save and Read KML files with APEX

I am new to Salesforce and Apex.I have a requirement of uploading a KML file to Salesforce and save it in a Workspace named 'My Files'. Then I should be able to list down filenames of 'My Files' ...
7
votes
4answers
699 views

Winter 20 breaks communities guest file upload

We have a community which has a lightning:fileUpload component for guests to upload anonymous file attachments to their created records. The guest user creates a new record via a global action which ...
0
votes
0answers
16 views

How to show uploaded image at place of file name

As i am trying to show uploaded image instead of file name.I tried this code but it is showing the image in pop up which is not the requirement.I tried another way but it was showing a broke image. ...
0
votes
0answers
17 views

Problem with annotations.csv in Einstein Object Detection

When file "annotations.csv" is uploaded in the correct form, Einstein reads only one, unique label even if there are a couple of them in the same picture. For example when I upload a file like this: ...
1
vote
1answer
29 views

Can't Convert to String some special Chars

I have a file to insert Accounts ,but some fields like account name have values with special characters like 'ñ' ,and Im having this error "BLOB is not a valid UTF-8 string" when I execute this query: ...
1
vote
1answer
1k views

File Upload component in Flow - no indication that files where uploaded

I am using the File Upload component in Flow. It works good, but I have no indication that the files where uploaded. So the flow looks exactly the same before and after I upload files: Before ...
0
votes
0answers
27 views

Salesforce : File attachment name issue

I have an issue with attaching files to a custom object that we created. The file attachment is part of the default related files we have in salesfore. The issue happens with there are multiple dots (....
1
vote
1answer
183 views

How to get the Content document Id for file that was just uploaded for a custom object

I have a requirement to allow a user to upload a csv and the system needs to process the file. I am planning to write an apex batch that is scheduled when a file is uploaded. The batch will need to ...
1
vote
1answer
475 views

Trigger on content document to retrieve the body

I believe this question is a possible continuation of this other question: How to retrieve the file content for a ContentDocument object? I am trying to get the body of a JSON file that is uploaded ...
0
votes
0answers
15 views

ErrorObjectNotFound javascript error on upload csv

I was working on a feature to load records as picklist values on to a custom lookup component from a csv upload. The functionality was working as expected, but I get an error that says "...
1
vote
1answer
226 views

How to upload Files as Guest Community User

According to Spring 19, it should now be possible to upload files as a Guest Community user. But if you try either of, <lightning:fileUpload> . <lightning:input aura:id="fileId" onchange="{!...
0
votes
0answers
300 views

Chatter Error: Failed to load resource: the server responded with a status of 401 (Unauthorized) when uploading a file as community guest user

Background I am uploading a file as a community guest user, but I am getting this error message: There was a problem uploading your file. Please try again. Displayed here: And this error in ...
0
votes
1answer
55 views

ASP.net calling Salesforce webservice to upload attachment

i have a website created using ASP.net and i would like to allow people to upload files from the website and i want those files is then store in Salesforce. I am not good in webservice but i think ...
0
votes
1answer
324 views

Lightning File Upload Styling

I'm trying to style the lightning:fileUpload aura component to look similar to the standard Files upload component (pictured below), but I'm having trouble. Any help would be appreciated.
0
votes
0answers
367 views

Limit file size to 2 MB for fileUpload Lightning compoennt

I have a requirement where i need to restrict the user to not upload the file size more than 2 MB. We are using lightning:fileUpload , for which i don't see any size parameter. We are uploading file ...
2
votes
1answer
230 views

lightning:fileupload issue in salesforce1

I am trying to upload/attach files to a record using the lightning tag 'lightning:fileUpload'. I have used this tag inside a component and used the component inside an App It works fine when ...
0
votes
1answer
431 views

Lightning File upload to refresh a child component after file upload

I am trying to do 2 things here 1.Custom file upload using Lightning:fileupload 2. List of files attached to the same record. I an hoping after a file is uploaded, the list should refresh after the ...