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

Sharing Problem

I'm trying to create a special sharing for one of my custom objects.
In my application, each user is linked with a location. I created a public group for each location and when I add new user to salesforce I indicate to which location it belongs.
The thing is I want that every user will automatically see only the records that people from his loaction created.
In the campaign object for example, there is a button called "sharing", with it- I can determine which users/groups/roles will see my records. but I can't seem to find a way to put this button in other objects.
Is there any way to create sharing like I described?
Thanks Alot
Eyal -

I think you can do exactly what you want through sharing rules, which are described pretty well in this document, part of the on-line help.

Hope this helps.