Questions tagged [attachment]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
95 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
1k 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 ...
4
votes
1answer
616 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 ...
7
votes
1answer
2k 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
4k 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
863 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? http://blueimp.github.io/...
1
vote
1answer
583 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: ...
4
votes
1answer
3k 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 ...
3
votes
3answers
6k 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
179 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
999 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 ...
4
votes
1answer
1k 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
828 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
2k 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 ...
9
votes
1answer
7k 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" relatedToType="...
5
votes
2answers
382 views

How can you export an object's attachments based on a user-defined date range of record created date?

The customer requirement involves a user being able to provide a date range to identify a set of custom object records. For all object records that fall within that date range (assuming the Created ...
2
votes
1answer
463 views

Outbound Message & Attachment

Is it possible to send an uploaded file (attachment) to an Enterprise Server via an Outbound Message?
7
votes
1answer
4k views

Is it possible to add an attachment to an existing Task or Event?

Using the standard Salesforce interface for Tasks (Page Layout), there is a related list for Attachments. However, there's no button to add a new Attachment to an existing Task, and when I edit the ...
0
votes
1answer
977 views

Trigger to send email notification after attachment deletion

I have this trigger to send an email when an attachment has been deleted. trigger send_email on Attachment (after delete) { Attachment del = trigger.new[0]; Messaging.SingleEmailMessage mail =...
-3
votes
1answer
5k views

Want to create a Event VF page?

I would like to create a VF page similar to Event standard page. I am not able to add Recurrence, Reminder, Attachments to the my custom Event Vf page. Please help me how can i add these additional ...
2
votes
3answers
2k views

Ramifications of replacing Contracts with a custom object

My question is related to one of my earlier questions. Exposing the contract object in the customer portal Basically, we need to expose the Contract object in our customer portal. But SF currently ...
2
votes
1answer
3k views

Where are my attachements?

I clicked the Send Email button on the Activities related list present on the Case object. While sending the mail, I also attached an image to the mail. While I receive the attachment in the email ...
2
votes
2answers
1k views

Field, attachment Encryption

Does Salesforce support encryption of attachments (does it automatically encrypt attachments), if not could it be implemented? If so how? Does Salesforce supports Encryption of Types other than Text (...
4
votes
1answer
1k views

how to host attachments outside of salesforce

Does anyone have experience hosting attachments outside of salesforce? I have a customer portal that allows file uploads via an authenticated sites user and it could potentially be a large number of ...
4
votes
1answer
671 views

Is it possible to download ALL Case Attachments as 1 file?

Our cases have most often 3-5 files attached. On the Case page, I can see the files listed. Is there a way to download ALL attachments together? With out the need to click on each of them?
9
votes
2answers
2k views

API Access to Google Doc Attachments?

Is there any way to query for Google Doc Attachments? For instance, the following SOQL queries return all Notes and Attachments whose parent is a Salesforce.com record, but I can't find any equivalent ...
3
votes
1answer
3k views

Image Cropping/Resizing Solution

I am looking into building an image uploading interface within Visualforce. I really want it to work similar to how the interface works when you upload your Chatter profile picture. The user should be ...
2
votes
2answers
3k views

Different attachment in same VF page

Hi i have a VF page with 5 input File attachment. I want 5 different attachment on the each of them. eg: Their are 2 more fields. 1. Name, 2. Job, 3. Resume . So like this their are 5 fields. If 1st ...
2
votes
2answers
107 views

How to share an icon between emails?

There several tutorials which show how to upload note / attachment for particular object http://salesforceworld.blogspot.ie/2011/06/save-attachment-in-apex.html However, I want to store the same icon ...
1
vote
1answer
905 views

Notes & Attachments Data Not Available

I am using an outputLink and want to give the user the opportunity to add a Note to a Contact like so: <apex:outputLink title="Add a Note" value="/002/e?parent_id={!contact.Id}&retURL=/{!...
3
votes
6answers
6k views

Hiding “New Note” button

I am showing Notes & Attachment section. I want to hide "New Note" button on the related list. I don't find any way for doing that. How can I do that? Any thoughts?
2
votes
1answer
1k views

Send chatter files with REST

When I upload a file from the directory (and save it as an attachment) and send it with REST webservices, it works great, but when I get a file from Salesforce (from chatter for example) it doesn't ...
5
votes
1answer
6k views

Determine the correct file type extension for an Attachment

When using the Soap API to work with an Attachment how can I determine the correct file extension when saving the Body contents locally? E.g. I created a test attachment on an Account from a PDF. ...
-1
votes
1answer
3k views

How to Get / Update an existing attachment using C#

Is possible to Get / Update an existing Attachment using C#? If it is can any one share some sample code or resources?
6
votes
2answers
10k views

Can I add a field to the Attachment object (specifically a picklist to track the 'type' of attachment)?

The title says it all. I would like to add a field to the attachment object to be able to sort/filter based on the attachment's type (eg, 'Will', 'Account Opening Document', 'Correspondence', etc.). ...
2
votes
2answers
8k views

What's the best way to migrate attachments from one SF Org to another?

Dataloader to csv doesn't work because of the binary Body, Dataloader to db seems to have problems with heap sizes and API limits ... so what works?
18
votes
5answers
9k 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 ...
7
votes
4answers
3k views

Can't use getContent() in a batch, future method, trigger etc

I have a VF page which has a method in the controller that generates PDF and sends it out via email. It's all working fine when I trigger off the method from a custom button on the page, which is the ...
10
votes
4answers
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 ...
24
votes
6answers
5k views

Most API call efficient way to retrieve all attachment bodies

I need to download the binary body of all the attachments in my organization. I'd like to do so with the least amount of API calls. It is my understanding that the SOAP API returns a single attachment ...

1
9 10 11 12
13