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

learn more… | top users | synonyms

3
votes
0answers
29 views

Attachments auto download in Spring 16? Workarounds?

A client has an existing integration that runs daily, which calls a 3rd-party system to generate a report on new opportunities; the generated report is added to the Oppty as an Attachment, as an HTML ...
1
vote
1answer
15 views

After insert trigger on Attachment object doesnt fire

Was anyone successful in getting their after insert trigger on Attachment working? I don't see any debug logs for the trigger when I try to invoke from the UI Updating post to add my code: trigger ...
3
votes
1answer
27 views

Parsing PDF file attachments

I have have pdf files uploaded as attachments in Salesforce. Is there any a way (an app on App Exchange) that would allow me to parse contents of pdf files, preferably as xml or json. The files ...
0
votes
2answers
41 views

Trigger to create an attachment

I have a requirement where an attachment has to be auto created whenever a record on Object A is Created. The attachment is a child to Object A. And the attachment type is ".docx".I dont have a ...
0
votes
2answers
23 views

upload an attachment in salesforce from vf page size upto 2gb into document in salesforce

Can i upload file size of 1gb or 2gb(pdf,jpg,doc,ppt etc) in document from vfpage.i think its work from rest api give the code or any link
0
votes
1answer
13 views

Id value 015d0000009LcU3 is not valid for the Folder_Items__c standard controller

this is class global with sharing class treeInlineController { public String actId{get;set;} public treeInlineController(ApexPages.StandardController sc){ List<Attachment> ...
3
votes
1answer
28 views

List all attachments and notes for an id in date order

I have been using the below SOQL to get the Notes and Attachments that have been added to a record in my Custom Object Request_For_System_Change (alongside all the other fields I need, the below is ...
0
votes
1answer
23 views

SOQL Query getting Notes and Attachments from Custom Object

I am getting an error when executing the below query in the Developer Console: select Id, Request_Title__c, (SELECT Id, Name FROM Attachments where id='a3K8E0000000BIj'), (SELECT Id, Title FROM ...
0
votes
0answers
16 views

Insert failed. attachmentimg: Class.AttachmentImgController.saveImg: line 26, column 1

Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Parent]: [Parent] Error is in expression '{!saveImg}' in component in page ...
3
votes
1answer
38 views

Enabling Notes and Attachments after custom object creation

When I first started our custom object Request_for_System_Change, I didn’t check the box to allow Add Notes and Attachments – and according to the documentation SALESFOREC.com - Fields for Defining ...
11
votes
4answers
226 views

Download Invoice PDF's On List View without saving to Notes and Attachment as a zip file

Scenario: Am having Invoice__c Object. On the list view I have download button to download the selected invoices PDF's. What my below code is doing is it is after fetching the selected records id's of ...
0
votes
2answers
36 views

Multiple Download on List View of Invoice Object

I need to achieve multiple download on list view of Invoice object. Requirement: Invoice Object has Notes and Attachments Related list. If Notes and Attachment is not null for Invoice Record then it ...
0
votes
0answers
13 views

Store record with image attachment and thumbnail with iOS REST SDK

I'm trying to upload an image record which includes a description, image file and a thumbnail. I can create the record with the description and the thumbnail is just a formula field with the ...
1
vote
1answer
44 views

Visualforce Attachment PDF Upload Maximum view state size limit (135KB) exceeded

I have done some research and most of the solutions is not working for me. I am trying to upload multiple pdf files, and I right now it doesnt even let me upload a single file due to the Maximum view ...
0
votes
2answers
16 views

Open Attachment on Create of Child Record (2) [duplicate]

I have a requirement for a custom app I am building to open an attachment on the parent record in a new window on create of a child record. I have parent object Quality_Assessment__c with child ...
1
vote
0answers
36 views

Open Attachment on Create of Child Record

I have a requirement for a custom app I am building to open an attachment on the parent record in a new window on create of a child record. I have parent object Quality_Assessment__c with child ...
0
votes
1answer
30 views

Create Test in this following Controller [closed]

How to create a test class from this controller? public List<Event_Logo__c> getEventLogo() { con = new List<Event_Logo__c>(); con = [SELECT Id, (Select Id, Name, ...
4
votes
1answer
31 views

Custom Object's Notes&Attachments in pageblocktable

I am looking to show the attached documents of custom objects record as a link in Pageblocktable. Please help needed in directing.
1
vote
1answer
53 views

Link to custom Visualforce page to upload an Attachment for the source record [closed]

I've created a Visualforce Page that enables me to upload files into our org as attachments based off Uploading a Document using Visualforce and a Custom Controller However, what I want it to do, is ...
1
vote
1answer
26 views

How to send attachment in a mail via workflow

Is it possible to send attachment using workflow.If yes let me know how shall it be implemented.
0
votes
2answers
38 views

Multiple attachments in singleemail class

I want to attach two (2) pdf files in a single email. Please find my below code which is doing attachment for only one of them. Can someone please help me here? Controller snippet: PageReference pdf ...
0
votes
0answers
31 views

Send all attachments in a record upon Submitting

Is it possible to somehow send an email which will contain all of the attachments which are in a record when a user kicks off the Approval Process ? I would like to have an Approver of a process ...
0
votes
1answer
24 views

Is there a way to identify if there is note or attachment already exists

I am trying to copy over notes from account into opportunities. I want to see if there is a same note or attachment already exists in opportunity. i want to copy them over only if the same note doesnt ...
1
vote
1answer
25 views

How to retrieve BLOB content from a case

We use salesforce to create different cases and we can attach the docs to a case as well. Now, i have to retrieve the attached doc from a case using REST API. I have used below query "SELECT Body ...
0
votes
0answers
66 views

How to attach file using Rest api Java?

Can some budyy help me out. How to upload attachment using Rest REST API Attachment I am following this link. Is there any sample code available? Any help appreciated.
0
votes
1answer
22 views

Subquery on Account for NotesAndAttachments not returning any records

I have written a Batch class that will check for Account records with no child records and delete them. Among the sObjects I need to check are Notes and Attachments. Because I have more than 20 child ...
0
votes
1answer
81 views

Cloning attachment from Email Object to Case Object

I have the following Apex Trigger on the EmailMessage object (cases to email): trigger EmailMessageTrigger on EmailMessage (after insert) { List<CaseComment> CaseComments = new ...
0
votes
0answers
23 views

Issue with binding variables when two visualforce pages sharing same controller

I have two pages that share the same controller. A button on the first page renders the second page as a PDF and attaches it to the Case. When viewing the attachments on the case, there are no values ...
0
votes
0answers
37 views

Email attachment in visualforce

I am using apex:inputfile to get the file uploaded and want to attach it email attachment and send it as email.. I tried public Transient Attachment emailAttachment{get;set;} <apex:inputFile ...
1
vote
0answers
24 views

Salesforce attachment object size 25MB

First Code <apex:page controller="testpagecontroller"> <apex:pageMessages ></apex:pageMessages> <apex:form > 00128000008Z416 <apex:inputfile ...
0
votes
1answer
33 views

Error with Parent as Required Field when Uploading Attachment from Form

I am making a custom form with the standard Case controller that needs to be able to accept attachments. I have written a controller extension that does a couple of things, including handle the ...
1
vote
0answers
26 views

Unable to delete a 21 Mb attachment

I created a 21 Mb attachment to test some code I was writing. Later I saw that my DE org ran out of file storage and it wont let me save any new records (even when the data storage is 40%). I deleted ...
0
votes
1answer
54 views

Select body Of attachments

In an apex funtion - getAttachments() - i'm requesting some attachments and their body: Set<Id> attIds = new Set<Id>{id1, id2}; List<Attachment> attLst = [Select Name, Body From ...
1
vote
1answer
47 views

Display attachment image in Angular template

I'm using the following snippet to display an attachment inside an angular view template: <div ng-repeat="d in data"> <img ng-src="{!URLFOR($Action.Attachment.Download, ...
0
votes
1answer
70 views

display link to download an attachment in an email

Scenario - Case object has a custom child object (sample_case_child__c). That child object will have some file attachment. When a case is sent for approval, the email sent out to approver should show ...
0
votes
0answers
43 views

Including child object's attachment in VF email template

Scenario- Case has a child object (a custom object - sample_case_child__c) which may have some file attachments on it. Goal - when a case is sent for approval, the email sent must include some ...
0
votes
1answer
101 views

How to create a new record from a CSV file attachment processed by the email service in salesforce

My requirement is that I need to create new records / update existing records based on the data from an email attachment consisting of .csv file format that is parsed to the Email Service that I've ...
2
votes
1answer
91 views

export/import attachments using dataloader only

I am trying to simulate a backup and restore of a sandbox, before doing it in production. I need to export attachments from a source org to a target org. My problem is, when I export the Attachments, ...
1
vote
1answer
45 views

Is it possible to drag and drop attachment from Salesforce object to our local desktop

We have a requirement to drag and drop a salesforce objects attachment to our local desktop. i.e to be specific, the user should be able to drag and drop a case attachment to the users local desktop. ...
0
votes
1answer
68 views

Font changes when VF page is rendered as pdf

I am creating a letter by getting the custom fields of a custom object(plan review__c). I was able to add a save button link to the bottom and save the letter as pdf in Notes and attachement section. ...
0
votes
2answers
66 views

Get size of email attachment

I'm hitting the heap size limit when converting attachments to base64. I've already put it in a future and running at 3xheap. What I want to do is get the size of the attachment prior to conversion ...
1
vote
2answers
58 views

How to prevent Opportunity attachments from showing up in Account attachments?

I have an issue where files that have been attached to opportunities are showing up in the parent accounts as well. How do I prevent an attachment associated with an account's opportunity from rolling ...
4
votes
1answer
55 views

Apex Dataloader: Getting ID of newly created record to use for attachment

I am pretty new to Salesforce and am trying to automate a process with a custom record in our Salesforce account using the Apex Dataloader. The process is: 1) Create a record for the custom object. ...
2
votes
1answer
50 views

Inserting Feed-Item with Attachment

I am trying to inserting Feed-Item with Attachment. I know that I have to the put Image File into Content and get the Content-Version Id. I can use the Content Version Id to reference in ...
2
votes
0answers
20 views

Chunking SObject in SOAP API

I am running a backup on Attachments object using the query: SELECT Id, IsDeleted, ParentId, Name, IsPrivate, ContentType, BodyLength, OwnerId, CreatedDate, CreatedById, LastModifiedDate, ...
0
votes
1answer
33 views

Attachment uploaded trigger to send an email to Opportunity [closed]

I use ccScan to scan certificates to Salesforce as an attachment to the matching Opportunity. But now I need to send an email to that Opportunity once the certificate gets attached. This cannot be ...
0
votes
0answers
23 views

Visualforce Attachment with email on trigger fire

I have a trigger which fires an email on my custom object. I want a visualforce page as a attachment to that email. I tried but it is not working. Please help me out. Here is my trigger. trigger ...
-1
votes
1answer
47 views

Need to upload multiple attachements VisualForce Page

I have a requirement to upload multiple attachment in Visual Force page. When i click on the attachment button i should be asked for how many attachment and then system show show the correct number ...
2
votes
1answer
98 views

Unrecognized field “attachment” when POSTing a Chatter FeedItem with a file

I'm attempting to create a new Chatter FeedItem using the Salesforce REST API. I'm constructing a multi-part request with the following parameters: { "feedElementType": "FeedItem", "subjectId": ...
1
vote
1answer
92 views

How to attach PDF files into an email

We have a visualforce page, we want to make the visualforce page convert to PDF and saved in document and after that we want to attached the body/document as PDF on email. The problem is that the ...