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
XactAndyXactAndy 

Sharing a specific custom object record

I've read in the help documentation that you can grant access to a specific record
by clicking on the sharing button, and then selecting the type group, user, etc to
Add.

However, does this also apply to custom objects, and if so, how do I enable it?
I've looked hard, but cannot locate the Sharing button on either my custom or
standard objects.

I'm using the developer edition.

Thanks,

Andy


Message Edited by XactAndy on 03-24-2008 04:09 PM
RickyGRickyG
Make sure the org wide default for the custom object is set to something other than Public Read/Write.  If the object has that setting, it doesn't make sense to have a sharing button, so we don't show it.

You can access the org wide defaults under Security Settings > Sharing Settings.

Hope this helps.
XactAndyXactAndy
Thanks Rick,

That sorted it.

BTW. Is this something that could be done programmatically, for example,
could we set up a Project object containing a collection of records, and then
write some code that ran over it all setting sharing settings?

One thing I've noticed that would be very useful for Apps in general is the
ability to partition records based on a project, rather than just users. Teams
could then log in and log out of specific projects and be allocated to specific
projects in a more granular fashion.

Andy
MLamb2005MLamb2005
Hi Andy,
 
I posed a similar question here: http://community.salesforce.com/sforce/board/message?board.id=general_development&thread.id=17329 and Rick informed me that 'Apex Sharing' is on the roadmap as a feature for the next release.  Sounds like we both have similar issues, so hopefully this fix will resolve them.
 
Matt
XactAndyXactAndy
Hi Matt,

Sounds great. This would overcome a lot of limitations of the current sharing model.

Andy