function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pveernapveerna 

is it possible to add email Attachment to custom objects

EDGE_XEDGE_X

Hi,

 

 

if you have enabled the Custom Object for "Notes & Attachments", you can add the "Notes & Attachments" related list to the page layout which will allow you to upload attachments (there is not really a field for doing this, per se).

To enable Notes & Attachments, go to setup->app setup->create->objects and then select the appropriate custom object, then press the "Edit" button and go the bottom of the screen and press the checkbox for enabling notes and attachments.

 

or you can do that with apex coding:

 

http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_classes_email_inbound_using.htm?SearchType=Stem

 

Unfortunately it looks like enabling Notes and Attachments is only and option when you are creating the new custom object.  Once you've saved the initial Object Properties it is not longer an option when you edit/update the object.    
https://na1.salesforce.com/help/doc/en/dev_objectcreate.htm