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
AA 

Apex sharing to attachment of case obj?

Hi All,

Can any one please share the code for Apex sharing to the attachment of case object?

Thanks,
  A
AA
Thanks for the link but we dont have AttachmentShare object for Attachment obj at the salesforce backend.So I need to achieve the shared example scenario to attachment obj.Please let me know how to implement this.

Thanks,
   A
Abhishek BansalAbhishek Bansal
All the child object sharing is controlled by its Parent object.
Attachment is a child object so it will also follow the sharing rules define on its Parent.