Tagged Questions

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

learn more… | top users | synonyms

1
vote
2answers
20 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
16 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
16 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
21 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
30 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
43 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
33 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
26 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
31 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
54 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 ...
1
vote
0answers
37 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 ...
3
votes
1answer
61 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
44 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
32 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 ...
2
votes
2answers
101 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
93 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
50 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
58 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
16 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
31 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
48 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
42 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
88 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
64 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
36 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
30 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
123 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
48 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
99 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
42 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
76 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
59 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
118 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
106 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
118 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
44 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
91 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
61 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
20 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 ...
1
vote
2answers
66 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
143 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
48 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
142 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
43 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
48 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
95 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
47 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
105 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
128 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
40 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 ...