1

The apex sharing reason related list is absent in the object setting page. How to enable apex sharing reason in a sandbox. This is a detail object in a master detail relationship. Thanks in advance.

  • You need to make sobject private. Set your Sobject OWD to private .. is your sobject private? – Ratan Paul Jan 12 '16 at 15:19
  • @Ratan. The sobject is a detail in MD. The parent is set to private OWD. Thanks for the quick response – Prajith Jan 12 '16 at 15:22
  • is your parent object (MD) apex sharing enabled? – Ratan Paul Jan 12 '16 at 15:25
  • The parent object is account. How do we check for that? Thanks – Prajith Jan 12 '16 at 15:26
  • So I believe since your Account is private and your custom object controlled by Account... So if you share the Account record with any User.. Then all the related records related to that Account will be automatic shared with that user.. I believe that's the reason apex sharing not available. Wait for other response what's there thoughts – Ratan Paul Jan 12 '16 at 15:30
1

Since your Account is private and your custom object controlled by Account... So if you share the Account record with any User.. Then all the related records related to that Account will be automatic shared with that user.. I believe that's the reason apex sharing not available.

| improve this answer | |
  • 1
    Yeah Ratan you are correct, the detail records sharing is controlled completely by parent. Hence no share tables. – Prajith Jan 12 '16 at 17:03
  • @Stygon Yes my assumption is correct.. Thanks for letting me know – Ratan Paul Jan 12 '16 at 17:05
  • @Stygon my pleasure.. – Ratan Paul Jan 12 '16 at 17:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.