Not able to find Sharing object for custom object Apttus_Proposal__Proposal__Share; giving me error while

List<Apttus__APTS_Agreement__share> st = new List<Apttus__APTS_Agreement__c>();
  • Is this still an open question/ – Adrian Larson Aug 23 '16 at 12:22
  • @adrianLarson it is closed. – user7601 Aug 25 '16 at 8:39
  • 1
    Actually, you never accepted the answer. When an answer addresses your problem, you can accept it by clicking on the check mark/tick to the left of the answer, turning it green. This marks the question as resolved to your satisfaction, and awards reputation both to you and the person who answered. If you have >= 15 reputation points, you may also upvote the answer if you wish. There is no obligation to do either. – Adrian Larson Aug 25 '16 at 12:28

If your Sharing Settings are set to Public Read/Write, then the custom object __share object is not available. Check the OWD Sharing by going to Setup > Security Controls > Sharing Settings. Once it is set to a lower level of default access, the share object should become available. Also note your code will still fail to compile, because you use __share on the left side of the assignment and __c on the right.


List<Apttus__APTS_Agreement__share> st = new List<Apttus__APTS_Agreement__c>();


List<Apttus__APTS_Agreement__share> st = new List<Apttus__APTS_Agreement__share>();
| improve this answer | |
  • Sorry for that thats a typo error, I have used __Share. It has Public Read/Write access, thanks for reminder :) – user7601 Aug 18 '16 at 18:07

Your Answer

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