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
carlocarlo 

Attachment object

Hello

 

Is the attachment object a master detail relationship with its parent?

 

If I delete the parent will it delete the attachment?

 

I want to share an attachment across 2 objects.  So we have a paper contract which is scanned and attached as an image.  This is usually attached as an attachment to the contract object.  I want to show this in the Account attachments.  Do I need to copy the attachment to the Account or can I just show the attachments of the Contract records under the parent Account?

Starz26Starz26

Attachment parentID cannot be edited once the attachment is saved.

 

It is deleted with the parent.

 

You will have to attach on both objects