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

learn more… | top users | synonyms

2
votes
1answer
27 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
18 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: ...
1
vote
1answer
14 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 ...
1
vote
1answer
45 views

How To Download ZIP Files From URL?

I want to read a zip file from a give url. That zip file is having a XML file which is the main file which I want to access. Is there a way to access/read that XML/Zip file ?
1
vote
1answer
16 views

how to view a winmail.dat file attached to a case in Salesforce?

When users recieve emails to the case, the attachements are atatched to the case under notes and attachements. Certain emails contain winmail.dat files. Whow can these be viewed easily through the ...
0
votes
2answers
67 views

How to create csv files in controller method from list

I want to create csv files from lists and send an email attaching them, how to do that in a controller method?
0
votes
1answer
69 views

Need to export attachments from Salesforce using a soql query and reload them to a different custom object

We would like to move attachments for some Accounts to a different custom object. However since parentid is a readonly field , i cannot change the parentid and reassociate the attachments. So I was ...
1
vote
1answer
33 views

when trying to attach it getting rollback problem

I have created a VF page for generating invoice and from that VF page i am invoking a PDF VF page. In invoice VF page i saved the invoice and pass the parameter to PDF page and trying to display it. I ...
0
votes
1answer
221 views

Attach a VisualForce Page, Rendered As PDF to a Record

I have a VF page and on that VF page I select a project and click generate invoice, on that click an new VF page is displayed as PDF. I want to attach that generated PDF VF page to the selected ...
7
votes
1answer
108 views

Is it possible to get a sharing link (to non SFDC users) from 'files'/'content' via apex?

A bit of background: I have a client that I built a custom model library for, and in this page they can select a group of models and email them (say instructions to the next gig or notify them of ...
1
vote
3answers
35 views

Attachment with html format

This might be solved easily, but cant find a solution.. I have a record with an attachment. This attachment is an HTML file. When I click on the "view" link in SalesForce, it downloads it. Is it ...
0
votes
1answer
31 views

Joining multiple attachments into a pdf

I have multiple attachments of type image,pdf,text,word etc. I want to merge them into a single pdf. Is it possible?
1
vote
1answer
143 views

Rendering attachment on visualforce page

I am having 2-3 attachment of different type (pdf/image/text etc). I want to display content of all the attachment on single visualforce page. Is it possible? If yes how can i go for it?
4
votes
1answer
60 views

Triggering code on sObject Child Relationship actions

I have a scenario in which I would like to fire off some Apex functionality when an Attachment is inserted from an EmailMessage object (that is received via Email-to-case). The trouble is, it does ...
0
votes
1answer
43 views

Error in a trigger for counting attachments

I have create the following trigger on Task in order to set as True a field (Questionnaire_attached) if there is an attachment. But It does not work. This message is showed: "Record is read-only" but ...
2
votes
1answer
62 views

Why content type of extension .cls not fetched for attachment object while soql query

Database.query('select (Select Name, BodyLength, ContentType from Attachments), Id,Name from Expense__c where Custom_Object__c =: CustomObjectID') gives response like <br> Attachments( ...
1
vote
2answers
45 views

Attachtment required to create a task

is possible to force to the users to attacht a document in order to create a new task? We want to use the tasks object to manage sales members resquests but we need to set as required to attacht a ...
0
votes
0answers
62 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 ...
3
votes
2answers
230 views

File Attachment not working when attaching crm Content

I have a page where the user selects content (that is 5MB or lower, only 2 attachments allowed per email) to use as an attachment in an email. It all seems to work fine, the email sends and there are ...
9
votes
2answers
307 views

Large size Attachment upload auto-removed by Salesforce. Is it a bug?

I've a Visualforce page that uploads multiple Attachments selected by user. I used following code to upload attachments: ... <apex:repeat value="{!AttList}" var="att"> <apex:inputFile ...
5
votes
1answer
65 views

Is there a way in apex to add 'force.com Content' files as attachments in emails?

I need to develop a way for users to select what content they want from a custom page and then have it added as an attachment to an email. I know you can add attachments to emails via: ...
1
vote
0answers
76 views

salesforce changes parent id of email Attachment to Case Id eventhough I set it to EmailMessage's Id

I am trying to create an Attachment with ParentId as the EmailMessage's Id but salesforce somehow changes it to the Case Id. I need the ParentId to be EmailMessage Id as I want to select attachments ...
0
votes
0answers
60 views

How can I copy attachments from Opportunity object into Contract object?

I have created a trigger that converts opportunities with stage equal to Closed/Won into a new Contract object. In this process, the trigger copies some information from the opportunity into the new ...
2
votes
1answer
47 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 ...
6
votes
1answer
273 views

Fields missing using getContent call for Visualforce rendered as PDF

I am attempting to get the content of a visualforce page that is rendered as a PDF. I make some changes to the object that the visualforce page is displaying data from, update that object, make the ...
3
votes
1answer
266 views

Changing Attachments “content-disposition” from inline to attachment

Well this is a concept and was trying to implement the same in VF. In salesforce Attachments are served with content-disposition = inline, this makes the attachment to display in the browser. Now ...
4
votes
1answer
56 views

not able to upload attachments to Accounts with External ID

I have a Salesforce implementation for a big company; every month the marketing department produces a report ( pdf ) for each client account; they ask me about batch process to automatically import ...
3
votes
2answers
303 views

Adding an attachment to salesforce from a remote site

If I have a remote site (a webform) with the ability for an unauthenticated user to add an attachment from their local machine to a webfom. When they click submit, we create a new record and add the ...
1
vote
3answers
727 views

Insert Attachment into Visualforce Email Template

this question: says that it is "hard" to put a component inside a visualforce email template because ' needs to be a child of component.'. Yet, is there a way to make this work? We also need to ...
2
votes
2answers
86 views

Attach attachments to multiple records?

Is there any way to attach Notes or Attachments to multiple records? I had originally thought that the Attachement.Body field was a pointer to the location of an attachment, and I would be able to ...
2
votes
1answer
81 views

sharing a file via public link

Let's say we have a student object. Under Student Object, we have multiple files attached (such as certifications, etc). I want to expose public link for each files of each student. So that outside ...
1
vote
2answers
168 views

how to Create a trigger to copy attachment of lead to opportunity at the time of lead conversion [closed]

I need to create trigger to copy attachment of lead to opportunity at the time of lead conversion.
1
vote
1answer
32 views

Confgurable Attachments

Scenario: I want the attachments object to take only certain types of attachments. For example lets say 'pdf, .html, .doc' only. I am well aware if I write a Visualforce page and an apex class I can ...
4
votes
2answers
480 views

Corrupt PDF when sending as email-attachment from Apex

I've created a VF page that allows users to select a list of custom objects related to a particular case, update some field information and attach pictures to any of these related objects. When done, ...
1
vote
2answers
333 views

Creating an Attachments Custom Field for a Custom Object?

We have a custom object in Salesforce and I would like to know if there is a way to add an attachments field to the page layout so that users can upload screenshots if they needed to.I know we can add ...
1
vote
1answer
45 views

Replacing Logo is showing New Logo Name, but old Logo

I've a visualforce page which should allow me to change a logo(basically, an image which is stored as an attachment), and display the modified logo. In this context, when i replace the existing logo ...
1
vote
2answers
221 views

Salesforce for Outlook & Attachments

The documentation for SFO states that SFO supports attachments, if 'Always save email attachments' is ticked in the user's Email settings. But if so - where does the attachment end up if SFO is used ...
2
votes
1answer
137 views

How we can find that particular object has “Notes and Attachments” related list in it

I need to find that if selected sObject has included "Notes and Attachment". Is it possible through sObject Describe? I need to filter all sObject in organisation by availability of "Notes and ...
6
votes
1answer
548 views

Attachment trigger not firing, is this a bug?

The Attachment Trigger is not firing for before insert and after insert events when attachments are added via the UI (Related to Tasks) in Winter 14 Sandbox, is this a bug? I've reviewed the known ...
3
votes
1answer
396 views

Attachment UTF-8 Character Set

I have a Apex Code which generates a CSV file and saves it as an Attachment under a record. The issue is that when the file is opened using Excel, few characters do not show properly. Eg: ' as well as ...
1
vote
2answers
283 views

Is there url I can upload to for attachment

I want to use the following plugin to upload image as attachments in salesforce. It requires the url for form action. Is there already defined url for the Attachment object? ...
1
vote
1answer
202 views

Simple passing of values from a LOCAL Apex variable list to FileAttachments

Usual page and custom controller stuff. Nothing fancy. The below code works fine, gives results as expected: for (Attachment a : [select id,name,body from attachment where id IN: ...
3
votes
1answer
807 views

Sending SOAP Attachment

I am creating a web service which send's an import request with the data to be imported to the client's server. The XML Payload have two parts. First one is an attachment which contains the XML for ...
2
votes
2answers
448 views

Removing E-Mail Signature Graphics automatically when adding to Salesforce?

Our corporate email signature, as many others do as well, has our company logo in in. When I add e-mail to Salesforce it adds that as an attachment to the task/email. The source of the e-mail can be ...
0
votes
1answer
72 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
2answers
184 views

Parsing PDF Content

I have a PDF attachment. I want to add the contents of this attachment to another VF page that is rendered as PDF. Is there any way to parse the PDF contents in salesforce, which allows us to parse ...
2
votes
1answer
167 views

Adding an attachment to the EmailAuthor page

I would like to have a button on an opportunity page that generates and saves a pdf as an attachment object and then opens the /_ui/core/email/author/EmailAuthor page with the attachment already ...
2
votes
2answers
321 views

reference object attachement

So i have an object which holds an attachment. this object is pretty much an invoice and has the option to be turned into a pdf document for printing purposes. the invoice will hold an image as an ...
0
votes
1answer
319 views

Copy Case email attachement to case attachments

I'm using the standard Email2Case functionality, I'm also using an apex class that copies the email content into a case comment. What I'd like to add here is copying the email attachment into a case ...
4
votes
1answer
1k views

Using a component to add attachments to visualforce email template and showing email link

We are trying to add attachments to an email template using a component. The code in the email template is: <messaging:emailTemplate subject="My Subject" recipientType="User" ...