Questions tagged [upload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
337 views

Upload Pictures from Salesforce1

How to make sure user uploads two or more pictures(before picture,after picture) before closing the status of service request. So, I have enabled feed tracking on service request custom object and ...
1
vote
1answer
1k views

Prevent Upload Files from Napili Community

I have a Napili Community and inside I have the Files List standard component. Now I must hide the Upload Files button to prevent the users to upload files. How can I do that? Thanks This Link shows ...
0
votes
1answer
643 views

enable a user to use the import wizard to upload custom object records?

How can I enable a user to use the Data Import Wizard to upload records to a custom object? Currently I have a user with Create permission on a custom object, the custom object has a Master detail ...
1
vote
1answer
87 views

Upload File Error

I've used the followed example to upload files in my app: http://peterknolle.com/file-upload-lightning-component/ At the Helper upload method, I've found the '$A.run' and it's not working anymore, ...
1
vote
1answer
374 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 ...
0
votes
0answers
419 views

Upload list of ZIP codes to categorize accounts

I'm a VERY new user of Salesforce, with experience in SQL and SAS/Stata. I think what I'm trying to do is simple - the company I'm volunteering for has several hundred client accounts in Salesforce, ...
0
votes
1answer
2k views

Visualforce File Upload

Hi SalesForce rookie here! I've looked all evening and cannot find a question that seems to cover my problem so I hoped to ask. I wish to upload a file using VisualForce, a .txt file. I want to read ...
0
votes
2answers
140 views

image uploading issue

How to upload files to an outside service, larger than 3M? And this error on uploading: Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 156.719KB <apex:...
2
votes
1answer
1k 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 ...
25
votes
3answers
10k views

Get file from Lightning input type file

With the Spring 17 release one of the new change on the markup is the introduction of the type file to the lightning:input, however I can't seem to get the file back, only a fakepath with the name of ...
1
vote
2answers
151 views

Unit Test data accessability

Today I experienced an error that I have never experienced before. When I go into my developer console on salesforce and run unit tests for, supposedly, all of my code, I get my typical high ...
1
vote
0answers
900 views

File upload functionality in Visualforce vs Lightning Component

What is the maximum file upload limit when creating file upload solution in visualforce vs lightning considering governer limits as well. Based on my understanding, Using visualforce max size of ...
1
vote
1answer
250 views

Salesforce Document Upload through CSV file

My requirement is to upload the documents in Salesforce Documents object through CSV file using dataloader.io. There are approx 10,000 documents that I have to insert in Salesforce. I am creating the ...
2
votes
1answer
833 views

Bulk API - Upload documents (files and URL) through CSV

I have tried uploading files through CSV using Bulk API's createBatchWithFileattachment() call. It basically goes like this: createBatchWithFileAttachments(JobInfo jobInfo, InputStream batchContent, ...
0
votes
1answer
210 views

How can I send multiple emails to same person within one list?

I need to send out voucher codes via email and some contacts have more than one code and therefore need to receive the email multiple times. The contact exist multiple times in the list I upload but ...
0
votes
1answer
23 views

How to upload data to a related list that has not yet been started?

In our volunteer record type, we have a related list that has several key data points that are in a .csv file. How can I mass upload this data to the related list fields if the "new application" in ...
0
votes
0answers
194 views

How to watermark a Image (gif,jpeg and bmp) in visualforce?

When adding media for the first time, add "staroff" watermark, approx 65% transparent, about 25% of lower right hand corner. If possible, reject if detect watermark before uploading. Best Regards
0
votes
1answer
13 views

Is there a way of showing Salesforce a bunch of codes and it telling me how many exist already?

Basically I upload products into SF every week - we have had an issue with our product tool and basically may need to load in thousands that are missing. We identify every product with a 'module ...
3
votes
2answers
3k views

uploaded zip files changing Mime type to application/octet-stream in static resources

I'm trying to upload a zip file in static resources. Even after selecting a .zip file to upload , the uploaded document is displaying mime type as application/octet-stream instead of application/zip. ...
1
vote
1answer
327 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, ...
0
votes
1answer
1k views

How do I add products to opportunities with the data loader?

How do I mass add products to an opportunity with the Data Loader? I've tried a few times but it seems to be asking me for the price book Id not the product - quite confused by this. - Is the ...
1
vote
1answer
905 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 ...
2
votes
1answer
392 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 ...
0
votes
0answers
28 views

How to restrict Image size by pixels [duplicate]

I'm using Salesforce functionality that you upload the attachment and I'm wondering is there anyway of setting strict requirements for the upload? Is image must be 400px x 400px?
0
votes
1answer
64 views

Salesforce for Outlook mail upload

When I try to upload an email to Salesforce it is automatically added to a contact profile of a colleague in my company. Would you please advise how to fix this in order to see the emails in my ...
0
votes
1answer
495 views

I can insert images in to Salesforce RTF fields using copy and paste functionality in my org on IE or Chrome, other users can't

A Salesforce specific Rich Text Field (I say Salesforce specific, because the RTF built in to Salesforce utilizes the Salesforce HTML editor so is assumed to have specific functionality pertaining to ...
0
votes
1answer
2k views

How to upload application/javascript file in static resource

I created a JS file and uploaded to static resources in Salesforce. It identifies the mime type as application/x-javascript. So unable to open the file in Dev console, because it support application/...
2
votes
1answer
172 views

How to add two image upload fields to account object?

I'm needing my account managers to be able to upload two separate images to the account object. I don't see that there are any 'file upload' field types in the field data-type selections and I don't ...
-2
votes
2answers
776 views

How to restrict file-type in Standard page Attach

I'm using out of the box functionality and I'm wondering is there a way to restrict file-type when the user is uploading an image? I like the following file-type to be allowed to upload png, jpg, gif, ...
3
votes
1answer
705 views

Upload ~20mb file to Salesforce via REST API

I'm looking for the API call (or set of) that will allow me to upload a roughly 20mb file to somewhere in Salesforce that would later let me process this file via APEX to update various objects based ...
2
votes
2answers
789 views

JS Remoting + Angular Ng-File-Upload

I was wondering if anyone had any examples using AngularJS + NgFileUpload and a @RemoteAction that handles base64 encoded file-data to create a drag & drop uploader? I have JS handler that works ...
1
vote
1answer
541 views

Getting Invalid Field Name error on FeedItem

I have written the below trigger to block uploading of .exe files in chatter feed. Below is the trigger code - trigger BlockHarmfulFileAsChatterFeed on FeedItem (before insert) { for(FeedItem f : ...
8
votes
1answer
1k views

Managed Package Validation Error

I'm receiving the following error when uploading a managed package (during the validation stage): "Permission Set Name" references "Custom Object" that has M-D relationship with Account. This is a ...
3
votes
2answers
947 views

Issue while uploading CSV file with embedded comma within column

I am uploading CSV file using <apex:inputfile> in vf page. CSV file contains 4 columns. Scenario 1) When I try to upload a file without comma in any column, It gets uploaded without any error....
2
votes
1answer
93 views

Salesforce for Outlook mail upload failed

I'm having an issue to upload e-mail/s from my Outlook to Salesforce via the Salesforce for Outlook plugin. The issue happens only for particular account 'Streamlined Marketing Systems Inc' and ...
2
votes
1answer
641 views

The location of Rich Text area image repository

Does anybody know how to access Rich Text area image repository programmatically? What is the object behind? I'd like to upload some files there and then reference them in the Rich Text content (...
0
votes
1answer
32 views

how to come under “notes and attachments” of a contact record

I have to upload an attachment of formats like (text) files from an external source to the salesforce org, it has to come under “notes and attachments” of a contact record.Any body can u let me the ...
0
votes
1answer
3k views

Upload Web Font

would it be able to upload a Web Font in ExactTarget? I only get the font as a otf-File. If i try to upload i get a respone of "Invalid file type selected." Thanks a lot for your help!
2
votes
3answers
7k views

How to Upload image into visualforce page

I need to upload image into custom object record as a rich text. Iam trying with "apex:inputFile" but it not working. I need to develop the page like below screen, Is it possible using visualforce ...
2
votes
4answers
995 views

Maximum view state and “transient” keyword

Good day Everyone, I am trying to upload a csv file. I don't have any issue when trying to upload a small csv file. But the problem is that, when I try to upload a large file I get an error in "...
1
vote
1answer
144 views

How to override a file in Portfolio?

I had uploaded a CSS file, and then I modified it on local, so I need to replace the old one by upload latest one. But when I selected override and uploaded it, the css is still keep the old version. ...
0
votes
1answer
159 views

Visualforce “File Upload” page not uploading all attachments

I have created the following visualforce page, but it's only "Saving" the last attachment on the list. I know I must be missing something simple in the code. Does anyone have a quick idea? <apex:...
1
vote
0answers
79 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) ...
1
vote
1answer
603 views

Salesforce HttpRequest blob results in Internal Server Error

I am currently uploading files to a third-party storage space through its API. This is the API through Java which was uploaded: HttpPost post = new HttpPost(url); post.setHeader("Token", ...
2
votes
1answer
266 views

Upload disabled due to “Managed Deletable References Detected ”

...because the Upload button is disabled and the following error is displayed. Managed Deletable References Detected An extension package cannot Refer to any managed deletable components in the ...
1
vote
0answers
460 views

Uploading a file from mobile Andoid to force.com

I want to upload an image that I get from my camera mobile to force.com, but i have an error that i couldnt handle. Here is my code , if you have any ideas, please share. Thank you! private void ...
10
votes
2answers
6k views

How can I upload/change user's profile image programatically or via API?

I know, that there is no way to mass-upload these images via dataloader as described here can I upload user's profile image via data loader https://success.salesforce.com/ideaView?id=...
1
vote
1answer
43 views

Strange Code coverage

I got in some strange situation. When I'm trying to upload package to sandbox it says that I have only 71% of code coverage and when I check it in setup it says 79%. What can cause it?
1
vote
2answers
10k views

Upload and download files/attachments

I am building a custom application in Salesforce using HTML. The user who logs into the application should be able to upload multiple documents and download the same once they are uploaded. I want to ...
-1
votes
1answer
65 views

List out of bound in below code

I am getting list out of bound error here in below code. Can someone please help me? Apex class snippet: for(Incident_abv__c inc : [select Name,Id from Incident_abv__c where name=:csvRecordData[j]])...