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

learn more… | top users | synonyms

0
votes
1answer
20 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
15 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
7 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
23 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
26 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
22 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
35 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
16 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
11 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
25 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
42 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
49 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
39 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
26 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
18 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
31 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
62 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 ...
0
votes
0answers
41 views

Add Attachment to a record in Salesforce1

I want to create a publisher action within Saleforce1 on a custom object to add an photo as attachment to a record. The publisher action should call the Camera of the phone and the picture should be ...
1
vote
2answers
80 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
77 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
63 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
103 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
145 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
91 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
133 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
106 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
117 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
28 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
62 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
51 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
138 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
35 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
148 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
157 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
38 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
57 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
125 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
41 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
183 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
252 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
51 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 ...
1
vote
4answers
164 views

Is there a way to Download all notes/attachments from a Salesforce Opportunity?

I have found it time comsuming to click into each note/attachement and click save to a certain folder. Is there a tool that would allow me to pull all attachments from an opportunity to a folder on ...
0
votes
1answer
916 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 ...
8
votes
1answer
181 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
54 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
64 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
479 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
87 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
93 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
84 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( ...