Skip to main content

All Questions

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

How can I map the Upload / attachment to a custom field of a custom object in surveys?

I have below requirement. We are not getting upload/Attachment related questions while mirroring the questions to custom object fields. I am creating a survey. I have a survey questions which contains ...
vamsi's user avatar
  • 1
0 votes
1 answer
1k views

Is it possible to upload binary file attachments (AttachedContentDocument) to records using the REST APIs?

I'm trying to programmatically upload a file (AttachedContentDocument) to an Account as an attachment using the REST API. This doesn't seem to be documented by Salesforce. When I use the Lightning UI ...
Andy Ray's user avatar
  • 1,508
0 votes
1 answer
237 views

Batch callout: How to upload Attachments from multiple objects (dynamically)?

I am trying to upload an Atttachments based on the selection and criteria from Lightning Component that will be saved to Custom Setting. For example, the criteria is Opportunity - Stage - Closed Won, ...
Almond's user avatar
  • 3
0 votes
1 answer
108 views

File upload via related list not working in IE11

at the moment I'm facing a really weird issue: I have a custom VF page, that embeds <apex:relatedList list="CombinedAttachments"/> and also a custom VF component. The uploading of files ...
Patrik's user avatar
  • 1
0 votes
2 answers
1k views

AJAX Toolkit logs error "NetworkError: A network error occurred."

I'm using the Ajax Toolkit to upload files on a VF page, like described here. The Upload works fine, the file is available and not damaged. But the response is not coming back properly. <apex:...
itsmebasti's user avatar
  • 6,555
1 vote
1 answer
761 views

Trigger to change Opportunity Stage to Closed Won if the attachment named Countersigned Order Form is uploaded

I need a Trigger as described in the title. I have a Trigger for this, but it looks like it's not working. I am not a Developer, so I don't know anything about coding. Any help will be much ...
Ivan's user avatar
  • 33
2 votes
1 answer
3k views

Uploading an attachment with Request

I've been struggling with Salesforce's attachment upload API for a while, and having a hard time getting Request to format its request in a way that Salesforce is happy with. Here's what I'm working ...
John's user avatar
  • 71
2 votes
1 answer
599 views

How can i use Files Connect to upload an attachment with apex, to Google Drive?

I'm new to this salesforce world and i recently discovered i can synchronize my salesforce instance with a Google Drive. I already have a connection established using Files Connect to my Google Drive, ...
user37586's user avatar
  • 660
1 vote
1 answer
1k views

Limit for javascript remoting request

What I want to do is upload attachments for a record. For this, I was thinking of using javascript remoting and send attachments/files using remote action. Is there a limit for request data sent in ...
ajinkyah's user avatar
  • 761
2 votes
1 answer
496 views

Uploading Document (files) to Attachment object

If I want to upload files into attachment object in SFDC, I can give the file path (drive location where file is available) in File location column and then upload to SFDC Attachment object. If my ...
stack_pointer is EXTINCT's user avatar
1 vote
0 answers
90 views

Salesforce Attachments before/after insert trigger: ContentType field value is not available

I need to write a trigger in order to prevent users from uploading some predefined file types. (Please note that I don't want to use "File Upload and Download Security" option for some other reason) ...
Hasantha's user avatar
  • 2,055
5 votes
2 answers
9k views

Salesforce isn't handling Base64 Encoded attachments uploaded via Rest API

I'm uploading an image as an attachment to an object in Salesforce via Rest API v32. My HTTP request body looks like so: --boundary_string_1416597802788 Content-Disposition: form-data; name="...
contactmatt's user avatar
  • 1,069
4 votes
2 answers
4k views

How to upload 6Mb attachment in a custom Apex Rest service (heap size issue)

I have a .Net app, which works with SFDC via REST API. Not so long time ago we faced with big files. Usually they were around 2-3 Mb and it was OK for both .Net app and SFDC. Now there are some ...
Andrii Muzychuk's user avatar
0 votes
0 answers
831 views

Uploading "Media File" binary content via the Apex Data Loader

I have a SalesForce Entity that I'm trying to upload via the Data Loader. So far we've been able to successfully upload all the "meta data" on the object but have been unsuccessful in actually ...
Eoin Campbell's user avatar
2 votes
1 answer
544 views

Automated Attachment Uploads from local directory

I have a directory on a network drive here inside the firewall that has pdfs on it. I'd like to upload them to salesforce. There are a lot of tools that do this, but I want it automated--as in, when ...
Shane McLaughlin's user avatar
0 votes
1 answer
221 views

How to copy an attachment from an email to a case record using email service

I'm Using an Email Service to create a custom object record and a case record. The email has an CSV attachment and have to attached to the case record.
Dize's user avatar
  • 1
19 votes
5 answers
13k views

Resize Image in Photo Upload in Visualforce before save in attachment?

Good Morning Friends, I am creating a Visualforce for my users to upload photos and these photos are saved in the attachments object, but I wonder if there is any way before the picture is saved I ...
Guilherme Gobetti's user avatar
10 votes
4 answers
5k views

Has anyone done Drag and drop multi-upload functionality for attachments/files?

I'm trying to create a visualforce page where someone can drag and drop attachments to upload them and they can see a preview of attachments that they have already uploaded. There are a ton of jquery ...
Greg Grinberg's user avatar