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

learn more… | top users | synonyms

1
vote
1answer
18 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
23 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 ...
0
votes
1answer
17 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
20 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
18 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
38 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
13 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. ...
1
vote
1answer
40 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
25 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
48 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
31 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
43 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
42 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
53 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 ...
0
votes
1answer
18 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 ...
0
votes
1answer
39 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
26 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
0
votes
0answers
11 views

Multiple Record create request from ajax toolkit?

I want to create multiple attachments from ajax toolkit. I can put all attachments in one list and can create them all together. But I want to send them separately so I am sending multiple requset in ...
0
votes
1answer
30 views

Associating an attachment with a custom object

I have written a small code snippet: public void setAttachment() { renderForm = false; System.debug('renderForm is'+renderForm); String fileContent = ...
0
votes
0answers
46 views

Export an attachment from sfdc to SFTP server

We have a requirement to keep the attachment(like pdf,doc,etc) in salesforce and also in a SFTP server. Just assume, we are uploading a file to salesforce and clicking on a save button....now that ...
1
vote
0answers
28 views

How can we re-size the attachmant file in salesforce

I am working on salesforce1 app where I have a apex:inputfile tag, on which I have added attribute capture, for capture image using mobile camera (capture=camera). This is working fine with both ...
0
votes
1answer
48 views

Converting from string to blob and sending email along with attachment

I have this method public void sendEmailWithAttachment(){ Blob b; String b64; String strUrlUTF8; String sampleString=generateReport(); //call generateReport method ...
2
votes
1answer
25 views

Best method to attach files to custom object in portal

I have a customer portal in my SF where users can make orders, how this is setup is by having a custom object with called Service_Orders which allows them to create their requests. I then have my apex ...
0
votes
0answers
19 views

Attaching custom file to Visualforce email template

Is there a possibility to attach a related file saved from an Account or a resource an email template? I can see you can render PDF/CSV files based on relational data, or attach custom logos, but ...
3
votes
0answers
36 views

Users unable to add attachment to case

My end users are not able to add an attachment to a Case they open. They can see the Attachment related List but don't have the Add Attachment button. It's only visible to System Admins. FYI: they ...
3
votes
2answers
44 views

need to be able to find which records have notes & attachments

I have searched the web with no success of finding a solution for this yet. How can I report on an objects records to find which ones have notes and attachments?
0
votes
1answer
59 views

How can I attach the visualforce page pdf?

I have a visualforce page renderas="PDF". But I need to attach this pdf to a record in custom object. I have custom button to open this pdf but this is just enabled if the checkbox field in ...
2
votes
2answers
44 views

Is there a way to report on attachments?

I've got a custom object that might have one or more attachments. I'm looking for a way to report on how many attachments there are on each record. I've done some research, and it looks like there's ...
1
vote
0answers
28 views

How can I export the chatter attachments from one SF org and upload into another SF org?

We are trying to export all the feed attachments (files) and we tried different ways to do it, but none of them were successful. We tried using the SF Data exporter and the files (attachments) are ...
2
votes
1answer
20 views

Best way to implement images alongside object items on CP

I have created a News (Custom Object) section in my Customer Portal and created a VF and Apex controller which they are accessed via. Right now I have a simple table of rows with text, however I would ...
2
votes
2answers
35 views

Attach the mail sent by workflow

actually in our org we send emails using workflows. The business required to attach the sent mail to the related record. There is anyway to do this?
4
votes
1answer
105 views

Can we have Web To Case Attachments?

I have to add an attachment to a web to case form... I know that we have form assembly app available... But is there any other way out? I have referred ...
1
vote
2answers
92 views

Facing problem with PDF Attachment

I have employee record where I am having a custom Button "GeneratePayslip" after clicking on which I have written a VF page "GeneratePayslip" and on that VF page I select a Month and click generate ...
1
vote
1answer
138 views

Insufficient privileges while viewing attachments from Salesforce Events

When trying to view an attachment that is present in an "event record", I am getting an error report which says: Insufficient Privileges. You do not have the level of access necessary to perform the ...
1
vote
1answer
90 views

Notes and Attachments on Communities VF Page

We have a VF Page that we are exposing to community users and on that page, we want to display the RL for Notes and Attachments. We have the following snippet <apex:relatedList ...
1
vote
1answer
166 views

How to convert an Image SRC URL to Base64 using apex?

https://www.google.de/images/srpr/logo11w.png I have a URL ,something like above coming from third party external website through REST API.I need to convert these URL to base 64 encoded format .How ...
0
votes
0answers
232 views

Adding attachment to case using Apex and VF reRendering issue?

I am having problem while adding the attachment to case using apex from site. User will enter their details,they will select the PO and PO line item. After that we need to select the file for ...
3
votes
1answer
103 views

renderAs PDF shows blank first page

I am using the html2canvas library to render the page with a view to rendering the canvas as a PDF. I am saving the canvas as an Attachment fine. The direct link to the attachment looks like this: ...
4
votes
1answer
166 views

Unable to upload an Attachment - Bulk API

I'm using Bulk API to upload attachments and getting an error: InvalidBatch : Failed to parse CSV header. Number of Records Processed: 0 While I'm getting following error at the Salesforce ...
0
votes
1answer
142 views

Why won't HTML formatted mails show correct in Salesforce on a case (Email-to-Case functionality)

I have enabled Email-to-Case functionality and in Email-to-Case settings checked: Enable Email-to-Case Enable HTML Email Enable on-demand service And routing adress is also set up. Salesforce creates ...
8
votes
2answers
160 views

How to “deep clone including Attachments” without hitting the heap space governor limit?

I'm working on a "deep clone" Visualforce page where starting from an object, that object and its child objects and its grandparent objects and so on are cloned and that logic works fine. But any ...
1
vote
0answers
29 views

Can you have a second “notes & attachment object” on an account?

We are currently loading PDF copies of invoices onto the account object as attachments, however these are being intermingled with other day to day attachments. Does anyone have any advice as to how I ...
0
votes
1answer
72 views

Email attachment using rest API

I have a requirement to attach pdf document with my emails. And the pdf document changes with each email according to the system configuration. Can you please help in understanding how can I ...
0
votes
0answers
64 views

Access to download attachment from customer portal users

Portal users didn't access to download attachments. How to add access to downloading? I have a link to file <a href="/servlet/servlet.FileDownload?file={!a.id}" ...
9
votes
1answer
140 views

How can I tell if a custom object supports notes and attachments?

I have some apex that generates a PDF and tries to attach it to a custom object type that the user defines. One issue I have with this is that if the type doesn't support notes and attachments this ...
0
votes
0answers
36 views

Attachment isn't loaded from customer portal

I have URL link to download attachment. Downloading gives out a error from customer portal. How to correct it? <a href="/servlet/servlet.FileDownload?file={!a.id}" ...
0
votes
1answer
191 views

Problem in attaching file through apex:inputFile

I have apex:inputFile on my page. It is rendered on some condition. When it is initially rendered and i upload file then i gets the attachment on my controller. But when it is not rendered initially ...
2
votes
1answer
224 views

Return a list of attachments for a custom object

I'm looking at the following example to upload some attachments to a custom object, http://blog.jeffdouglas.com/2010/04/28/uploading-an-attachment-using-visualforce-and-a-custom-controller/ It works ...
2
votes
1answer
52 views

How do I call the standard New Note or New Attachment pages?

I have a requirement where I need to provide New Note and New Attachment buttons on a Visualforce page and cannot use the standard related list. Every method I've tried so far has led to an error: ...
2
votes
2answers
65 views

Can I Modify the Attach File Button on a Case?

I want to add some custom logic to the upload attachment feature when attaching items to cases. Is it possible to customize this form, or is it possible to customize the button that is display in the ...