You need to sign in to do that
Don't have an account?

Sforce attachments to Custom Objects
When creating a custom tab with a custom object, I can add attachments to that custom object. However, the Sforce documentation appears not to support that same functionality. Is that true?
Thanks.
-- Mark
Thanks.
-- Mark
ParentId:
ID of the parent object of the Attachment. The following objects are supported as parents of Attachments:
Account
Campaign
Case
Contact
Contract
Opportunity
Product2
Solution
Yet, when I create a custom object and edit the layout, I can select Notes and Attachments for that custom object. I'd like to attach a file to my custom object from the API. Is that possible?
The documentation has omitted any reference to custom objects which is a bug in the documentation and we will address that.
Thanks for pointing this out.
Almost 4 years later and the bug is still in the version 9.0 documentation!
Oops, sorry, just 1 year+ later.