Questions tagged [upload]
The upload tag has no usage guidance.
172 questions
6
votes
1
answer
2k
views
How do I upload a 'Document' sobject using the REST API?
Given a folder ID, I wanted to be able to 'upload' an sObject of type 'Document' from within my code to the salesforce instance for the authenticated user.
I was going through the api reference, but,...
5
votes
1
answer
234
views
Disable sending a chatter message which is sent to all users when sharing a file
I wrote a trigger on FeedItem to share a file. Salesforce automitcally sends a chatter message when sharing a file.
Is it possible to disable sending a chatter message and an email which is sent to ...
4
votes
1
answer
4k
views
How can I unit test Uploading a Document using Visualforce and a Custom Controller?
I'm presently playing with the cookbook recipe at http://developer.force.com/cookbook/recipe/uploading-a-document-using-visualforce-and-a-custom-controller
... and trying to figure out how to unit ...
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.
5
votes
4
answers
24k
views
How to resolve the Invalid Date error in Apex while uploading CSV file?
I am trying to upload the CSV file via Apex programming I am getting an error like Invalid Date Error. Please find the screenshot for more details. I have given code like this
site.Approved_Date__c =...
1
vote
4
answers
8k
views
Visualforce Error System.TypeException: Invalid decimal:
I have written Apex code and VF page for uploading records for my custom object. While uploading the CSV file into system via programatically I am getting the error "Visualforce Error System.Type ...
2
votes
1
answer
159
views
How to upload from sandbox to production quickly?
Is it everyone that faces the same issue?
I am trying to upload one class and it takes up to half a day. This platform supposedly should be easy to manipulate, but one hour in today and I can't ...
2
votes
1
answer
1k
views
Upload CSV in different encoding than UTF-8
Is it possible to set an encoding for a file that is uploaded via a VisualForce page? I am getting errors stating that the content of the uploaded file is not UTF-8 encoded. Ideally, the user would be ...
-1
votes
1
answer
616
views
Trigger Duplicate CSV
I am trying to upload a CSV file / insert a bulk of records using the import wizard. In short I would like to keep the latest record, in case if duplicates are found.
Duplicates record are a ...
2
votes
2
answers
5k
views
Can users upload PDFs, Word Documents, etc. into Salesforce, possibly through the Text (Rich) field?
I know that by using the text(rich) input field on an sObject, users can upload images if a <apex:textarea ... richText="true"> is available on a VisualForce page. Is there a way to enable users ...
-5
votes
1
answer
5k
views
Error: Compile Error: Non-void method might not return a value or might have statement after a return statement [closed]
I am trying to upload a data file to salesforce on my custom object. This is similar to gmail upload. Here i have attached the code regarding this but i am getting error.
I am getting this error.
...
8
votes
2
answers
6k
views
"REGEX too Complicated" error
Is "REGEX too Complicated" error while attempting to upload a CSV via Apex into SFDC an undocumented limit? What should be the optimal data volume for a CSV upload via Apex? I was trying with 10,000 ...
4
votes
1
answer
7k
views
how to show sharepoint documents in salesforce?
How to show sharepoint documents in salesforce?
I should also be able to upload documents from salesforce directly to sharepoint if the users attach a document for a record in salesforce. Any idea ...
6
votes
2
answers
4k
views
CSV File Upload into SFDC
I am looking for an approach to perform the below:
[1] Read an CSV file from the local drive and insert the contents into SFDC (having a typical Browse button)
[2] Once the read is complete upload ...
3
votes
1
answer
831
views
Drag & Drop Upload Images to documents - Security Problems
We have developed a Drag & Drop multiple Image Upload with Html5, jQuery and the REST API.
We are wondering what are the problems that this feature can bring up in the security review.
Let me ...
2
votes
2
answers
2k
views
How to Check if a File is Encrypted or not?
I have a requirement to check whether a file is encrypted (using AES) or not before uploading. If not encrypted the upload should not happen and an Error Message should be thrown. How in APEX/Java ...
5
votes
3
answers
11k
views
Upload and attach a file to an account or opportunity
So I was wondering how I can attach a file to an account. Basically what we do is sell a product online that requires an agreement. When they buy the product, we generate a pdf of the agreement and ...
19
votes
2
answers
14k
views
Loading files greater than 5M using VF page
I have a VF page that is used to load files to AWS.
In the past the files were smaller and the 5M VF limit was fine.
Now most of the files are larger than 5M and I can no longer upload them using this ...
5
votes
3
answers
3k
views
Data loader - each batch a discrete operation/transaction?
I am currently designing a solution which will likely include upload (insert/upsert) of 1000s of records per upload. I am doing some calculations to evaluate how far the solution might be from ...
1
vote
2
answers
2k
views
Can I upsert with the Data Loader using different fields for existing and new records?
I have an object, Financial Account, that exists in Salesforce. The object is updated twice every week from our accounting system so that Salesforce reflects up-to-date balances for the accounts. ...
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 ...
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 ...