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

learn more… | top users | synonyms

2
votes
1answer
20 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
30 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
26 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
1answer
61 views

How to upload 6Mb attachment

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 ...
1
vote
1answer
41 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
32 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
15 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
10 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
18 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
32 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
31 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
46 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
25 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
28 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
22 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
64 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
34 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
64 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
31 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
63 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
41 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
84 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
55 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
83 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
25 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
57 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
39 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
15 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
2answers
43 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
74 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
37 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
71 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
29 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
29 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
52 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
45 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
81 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
60 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
34 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
25 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
39 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
173 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
106 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
223 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
135 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
266 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
326 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
131 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
209 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
187 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 ...