A standard Salesforce object representing file attachments related to another standard or custom object.

learn more… | top users | synonyms

1
vote
2answers
13 views

Why doesn't File Location Lookup show attachments of Opportunity?

My opportunity has some attachments. I would like to send them via email. If I hit on "Attach File" button of "Send an Email" page, then File Location lookup filter window, dialog appears, however I ...
0
votes
0answers
11 views

Best way to migrate binary attachments from one org to another

Currently I am using apex data loader with bulk api enabled and batch size =1 . But its giving me failed to create batch when i try to import 1000 files with each size around 100kb. I need to ...
0
votes
1answer
22 views

Size of an attachment?

Is there any api in salesforce to find out the size of an attachment? I am creating package.XML in Salesforce and I would like to make sure that the size is less than 3 MB.
1
vote
0answers
14 views

Files getting corrupted using apex:inputFile

I am using apex:inputFile to upload documents in a vf page, but sometimes the file is getting saved as .dat file. This is not happening always. I am not rerendering the apex:inputfile and we are not ...
0
votes
0answers
36 views

Attach a dynamic PDF page

I have a requirement to create a pdf page in a new window based on dynamicly created records of custom object Incident__c when an User clicks a custom button. Then mail the PDF to the User. Please ...
1
vote
0answers
30 views

Notes and Attachments on Contacts in Customer Community

I don't see Notes and Attachments related list on Contacts. From page 24 Communities Implementation guide it says Customer Users don't see Notes and Attachments related list on accounts or contacts ...
0
votes
2answers
93 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; ...
0
votes
1answer
32 views

Move EmailMessage's attachments from one Case to another

Here's my use case: Existing logic: When an email with attachment is processed by email2case handler, case (Case A) gets created followed by email message and attachment resides with the email ...
2
votes
1answer
18 views

How can I be notified or change case status if a community user adds an attachment to a case?

I'd like to be notified (or at least change case status) if/when a customer adds an attachment via the community portal. Is that possible? As per this idea here, it sounds like it's not available. ...
0
votes
0answers
34 views

Creating email template using Apex class and dynamically attach a file from notes and attachments

Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); mail.setToAddresses(emailList); String subject='Trend Analysis Report-PI'; transient Messaging.EmailFileAttachment [] ...
0
votes
0answers
22 views

Salesforce1 on Iphone6 does not show attachments

One of our users has an iPhone 6 and when using Salesforce1 the attachments on for example an Opportunity cannot be opened. The screen shows the pdf's title, that's all. Is there way to solve this? ...
0
votes
1answer
59 views

View office file in visualforce page

Is there a way to view a microsoft office document in a visualforce page? The files are Attachments of a custom object and I need to open a viewer for them. I tried to use the field Body of the ...
1
vote
2answers
55 views

Email Services Binary Attachment Not Working

I am using the Email Services in SFDC, and I am not able to get the attachments I attach to the emails to be uploaded to the new record that is being created. I built my APEX class off of the sample ...
2
votes
0answers
68 views

Upload an Attachment via the Rest API

I'm having an issue uploading attachments via the REST API. When trying to upload attachment data (i.e. data about the attachment and the associated base64 binary data) I'm getting a 400 result (Bad ...
0
votes
1answer
43 views

Can we download salesforce attachment with Python and Beatbox?

I have found the useful API from http://www.pocketsoap.com/beatbox/, From my understadning we can use beatbox for attachment uploading to salesforce. However how we downloading mass attachemnt via ...
2
votes
1answer
33 views

Render if attachment exists

I would like to display an image attachment on my visualforce page (via standard controllers). What I would like to add is a render statement to only show this the attachment exists? Right now the ...
2
votes
2answers
48 views

Search Text in a PDF file (Attachments)

I am not able to search text in a pdf file tied to attachments(Notes and Attachments) using apex.Here is my apex code. Pdf file contains 'County' text but it doesn't goes into if loop. ...
1
vote
1answer
121 views

Can we open files/attachments in Salesforce1 without enabling Chatter?

It appears the only way to open files in Salesforce1 is via "Salesforce Files" - previously called, "Chatter Files" which is tightly coupled to Chatter. When creating Chatter files, it seems to piggy ...
2
votes
1answer
38 views

Un-grey Attachments in Opportunities

How do I enable this Attachment? Right now it's greyed out. What are the steps to enable this feature so I can upload an attachment upon creating a new opportunity?
1
vote
1answer
45 views

Visualforce template with page breaks

I have a opportunitylineItem list, so I create a visualforce email template to send like attachment the table with the opportuntiy products. I need a dynamically page break if I have more than 6 rows ...
0
votes
1answer
54 views

Case Attachments on the Account Attachments Related List?

I noticed that Case Attachments appear in the Account 'Notes & Attachments' section with a 'Related to' link. However, when we have hundreds of Cases for each Account, the important Attachments ...
0
votes
1answer
99 views

Code in a @future method not working

I am trying to write a trigger that will transfer attachments from a Task object to the related Opportunity object from emails & attachments using Salesforce for Outlook. I have the basic trigger ...
3
votes
0answers
60 views

Is forcetk accessible in Communities

I am using forcetk to upload the files(attachments) in VisualForce page and its working fine. But when I access same page in Community not able to upload the file as I am getting the "503 Service ...
4
votes
1answer
99 views

Upload zip file in visualforce page

Can anyone tell me how to upload a zip file in visualforce page? My use case is: I have to upload a zip file which contains 10 pdf files and assign these 10 files to 10 contacts For that how can I do? ...
1
vote
1answer
62 views

I have a requirement where in “onclick” of a button I need to attach all files in Notes & Attachments

I have a requirement where in "onclick" of a button in Salesforce I need to open a new mail in outlook and attach all attachments available in "Notes & Attachments" related list. Is it possible? ...
1
vote
1answer
54 views

Adding custom Email button

I am displaying an image (saved in Static resource) on a click of button on Lead's detail page. I need to add a button to send an email which automatically attaches this image and should have Lead's ...
3
votes
2answers
165 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 ...
3
votes
1answer
293 views

Visualforce page to render attachment.body

Im trying to build a visualforce page to render as an attachment. It seems doable but im getting lost in the content encoding issues.. here is what i have so far Visualforce Page: <apex:page ...
1
vote
2answers
63 views

when rendering as pdf some of the image type attachment is not properly displayed whereas rest are fine

when rendering as pdf some of the image type attachment is not properly displayed whereas rest are fine. Please find my code here : <apex:page controller="Attachments_11" renderas="pdf" > ...
0
votes
1answer
114 views

File Attachments over AJAX call (XMLHttpRequest error)

Im trying to write a script that will grab a series of attachments and zip them up using JSZip. All is working well but the script does a call to grab the download url it seems like whats happening ...
0
votes
0answers
20 views

Standard “Send an Email” with Attachments

I'm looking for a solution (AppExchange, github...) to select attachments from the list of Attachments when on the standard "Send an Email" page (/_ui/core/email/author/EmailAuthor). It looks like ...
1
vote
1answer
52 views

What are the possible ways to ARCHIVE the attachments in Salesforce?

Scenario : Some attachments specific to an opportunity are available under Notes and Attachments of the the Opportunity . Out of those set of attachments,some are obsolete and hence would like to ...
1
vote
1answer
64 views

Communities - Where To Store User Uploaded Files?

I am building a custom communities app where users will configure their profile, and it will be displayed on a public listings page if they opt-in. As an FYI, the public listing page will be hosted ...
1
vote
1answer
70 views

Attachments added to Task not displaying in Attachments related List in Leads

When I add an "attachment" to a "task (Open Activity)" in Leads, that does get saved to that particular "Task record" and doesn't display in the "Attachments" related list. However, this does ...
0
votes
1answer
222 views

Email File Attachment type

I am trying to send an attachemnet in an email. I am able to do so the problem that i am having is that I am not able to get the original name and content type of the attachment. Is there any way of ...
2
votes
1answer
141 views

Email attachment not received in EmailService handler

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the ...
0
votes
1answer
59 views

Want to upsert Attachment base on parentId

There is no external id column for Attachment object, but the requirement is to insert Attachment for the parentId if there is no attachment present else use the already existing one. Please suggest ...
3
votes
0answers
45 views

Summer '14 CombinedAttachment.ContentUrl returns null

I'm using a StandardController page like the following to try and display the URL of a Google Doc. To test this, I've uploaded a real Google Doc to an Account record, and I can see the 098 record ...
1
vote
1answer
224 views

visualforce page pdf record data

I have a visualforce renderas=Pdf, I created a button to save them in notes and attachments related list, this work fine, but I can't get the value record information in my attachment. If you can ...
1
vote
0answers
70 views

How to expose a Note on a Visualforce Page in Force.com Site

I'm trying to display all the collateral on a record. I'm using the CombinedAttachments relationship in the way below. It works great for Attachment if the user has access to the record. ...
2
votes
1answer
167 views

How to use Blob.toPDF() method to create attachment body containing image and texts

I want to use Blob.toPDF() method to create attachment body, currently using: attachmentPDF.Name = account.Name + '.pdf'; attachmentPDF.body = Blob.toPDF(pdfContent);` Inside pdfContent I want to ...
1
vote
1answer
49 views

create attachment with text and images

there is a requirement to show text along with image inside a salesfore Attchment body. currently im using Attachment record = new Attachment(ParentId = call.Id, Body = ...
3
votes
1answer
105 views

create attachment in apex to store encoded signature

currently i'm displaying encoded signature in my apex page in this way : <apex:image value="data:image;base64,{!Call.Signature__c}" /> Now i want this encoded signature to be saved in ...
4
votes
1answer
99 views

How include Salesforce file picker for a custom VF Page

I have a VF page where I need to attach files for an Email to be sent. I am using apex:inputFile for uploading the attachments. When you click on the "Browse" button next to the attachment, it opens ...
3
votes
1answer
191 views

How to modify custom object security

I setup a custom object (called Sensitive Documents) with a child-master relationship to the Contact object. I was hoping to control the security of my custom object independent of the parent object ...
1
vote
1answer
158 views

Attach dynamically generated visual force PDF to a visual force template

I have a requirement where I need to attach an email template to a dynamically generated VF PDF. Though I am able to send the template. But I am not able to send the attachment. Please suggest how can ...
1
vote
2answers
157 views

How to save attachment to a custom object in salesforce using Java or Android

I have scenario in which i have to send multiple file from my local file system of the mobile through phonegap and jquery mobile to android which in turn sends the file to the salesforce server to a ...
1
vote
2answers
58 views

URL redirect after attachement upload

I want to make a program where a user uploads any document. On uploading I want the user to be redirected to a folder. So here's what I have tried so far from salesforce documentations... public ...
1
vote
1answer
129 views

Attachment name/file not being set, set null

Ive been trying to add code to add a an attachment to my custom object. However the file, and filename keep showing up null (if I wrap "if file != null" around the attachment insert it bypasses it and ...
0
votes
0answers
90 views

How to create attachment from Rest Api Javascript

I want to create attachment from javascript to salesforc using REST api without using Ajax Toolkit. I tried with this link Create Document using REST API But I had no luck . Please help. Thanks