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
cinov8cinov8 

Read/Write Sharing Level

What is the required value to grant Read/Write access when creating a manual share via APEX? My code now is:

 

shareRule.AccessLevel = 'read';

 

..and I need them to have full access. I tried all the combinations but no luck.

 

Thanx.

HarmpieHarmpie
Are you using the force.com IDE? If so, use the schema browser to find out these types of things (picklist values, relationshiop names etc.). The answer to your question is 'edit' .