Sharing enables record-level access control for all custom objects, as well as many standard objects.

learn more… | top users | synonyms

2
votes
0answers
7 views

How can a Partner User will able to see Reports based on Product/Pricebook

As mentioned by salesforce.com the Partner Users can only able to report on S/C-objects which are Private in Sharing Settings, then how can Partner Community User can see Products/Pricebook fields in ...
0
votes
0answers
14 views

Salesforce picklist related Question? [on hold]

I have 4 text boxes with field names like Field1 Field2 Field3 Field4 and one picklist field . Picklist values are like TextArea,Drop,Radio,Checkbox. My requirement is i Filled ...
2
votes
0answers
24 views

Why there is no OWD settings for Product Object

I was wondering why there is no OWD settings for Product Object. And as it was said that PriceBookEntry is a junction object for Products & ProductPortfolio then why there a OWD settings option ...
11
votes
0answers
55 views

InstallHandler runs under a special ghost user. What rights does it have?

When you install a managed package with a post-install script, Salesforce creates a special ghost user under which all of the post install activities occur. I think this is undocumented. Here are some ...
1
vote
1answer
29 views

Sharing Rules in Salesforce

I have the following requirement. In my organization i have 3 users. Let the first user is say UserA and he is admin. Second UserB and third UserC are one role below the Admin. Now I want the UserB's ...
5
votes
3answers
32 views

sharing opportunities with partners

Is there a way of sharing opportunities that are not closed with specific license type or profiles? I want to be able to share only closed opportunities with my partners.
2
votes
1answer
25 views

Can we delete records in share table with row cause as Rule?

delete [Select o.UserOrGroupId, o.RowCause, o.OpportunityId, o.OpportunityAccessLevel, o.Id From OpportunityShare o where RowCause='Rule' and o.OpportunityId='######']; Trying the above and looks ...
3
votes
0answers
14 views

How to check the progress of a sharing rule deploy

How can I check the progress of a sharing rule deploy. I made a sharing rule change but I have nowhere to check the progress of this job, therefore I cannot know when I can make another change to the ...
2
votes
1answer
67 views

The installed managed class is not visible

I have created a VF page and using class as extensions of the VF page. I have created a site in the VF page as home page. The page is getting displayed but when i click the submit button on the VF ...
1
vote
1answer
37 views

Account sharing rule not working in apex code

I've set up Account sharing rules so that if a checkbox field is false, Accounts are Read/Write for All Internal Users. I have a Profile (thisProfile) where all CRUD operations are ticked, but not ...
1
vote
1answer
54 views

Records visibility in Salesforce Communities

I have created a community in salesforce , i have a customer community user , to be login into salesforce community as user , all i do is go to contact record and manage ,and login as customer as ...
0
votes
1answer
23 views

Why isn't my account sharing rule showing the opportunities?

Can someone explain the account sharing interface to me in terms of the opportunity and case access? I thought this would let you set sharing rules for opps. Problem: I'm trying to make ...
1
vote
1answer
26 views

Want to display records to owner only in a customer portal

Want to display records to owner only in a customer portal. Other users must not able to view others records
0
votes
0answers
20 views

Campaign Record Insert Error. Insufficient Access On Cross Reference Id

In our salesforce org there is eloqua integration. It basically inserts Campaign records into salesforce. For 1 campaign i am getting this error "Insufficient Access on Cross Reference Id". I already ...
3
votes
1answer
43 views

User is unable to see the opportunity records even though profile is having View All Data Permission?

User is unable to see the opportunity records even though profile is having View All Data Permission? Any Help is appriciated.
1
vote
1answer
37 views

Master Detail Sharing Rule

I know that Details inherits Masters permissions but i am bit confused with the below scenario - Object A - Master Object and profile has Create/Edit/Delete/View all on it Object B - Detail Object ...
2
votes
2answers
39 views

Sharing Activities Programmatically

Can Activities be shared programmatically? They don't seem to have a share object associated to them? Can programmatic sharing of Activities be achieved without a Share object?
5
votes
0answers
57 views

Troubleshooting a Record Sharing Mystery

Update: Totally rewriting/simplifying this question now that I've zero'ed in on the core issue. I'm sharing an Account, Program B with a public group called Access Program B's Data. As part of that ...
3
votes
1answer
36 views

Allow certain users to see records on related list but not be able to view detail?

We want to allow our salesmen to see other salesmen's opportunities, but only on related lists (such as on the account detail page). They should not be able to click on the opportunity to see the ...
1
vote
0answers
20 views

Custom Object Detail Filter on Sharing

I am trying to show the list view from the User & Groups Sharing page on a custom object in a visualforce page. I currently have the following code: <apex:page> <apex:pageBlock> ...
0
votes
0answers
23 views

Show User & Group Sharing as Related List

Instead of having to click on the Sharing button in a custom object to view the User and Group Sharing view my team wants this exact same view to show in a Related List type of format on the main ...
3
votes
1answer
57 views

Innerclasses marked as without sharing/Outerclass is with sharing

I had this use case where i need to run the entire class in 'respecting sharing rules of org' But in there i had to query Entitysubscirption object list<EntitySubscription>listt = [Select ...
1
vote
1answer
26 views

Related List Records access for PortalUser

How do I create the Account sharing rules to customer portal user based on this current setup: Account is "Private" Contact is "Control by Parent". I have created a customerPortal user called ...
0
votes
0answers
33 views

Why can't I change the Contact Access for an Account Team member?

I am trying to give Read/Write access to an Account Team member on all Contact records for an Account. I can select the value in the settings dialog, but when I hit Save, it seems the value reverts ...
2
votes
1answer
23 views

One general sharing rule for a user with a role to share Contacts with their Managers

I want to set up a general sharing rule that any user with a role of "Area Coordinator" share the Contacts that they own with their Managers as defined by the Manager hierarchy field on the user. Is ...
0
votes
2answers
156 views

How to Search contacts using wildcard characters(*,%,?) in salesforce

Please give me answer for "How to Search(box) list of contacts using wildcard characters(*,%,?) in salesforce "
2
votes
1answer
33 views

Granting read/write to all members in a role

I'm sure there's a way to do this but can't quite figure it out. I have a custom object, and want access to it controlled by the role hierarchy. However, I want everyone at the same role as the ...
2
votes
1answer
133 views

Insufficent Priviliges to access the User related Contact(Lookup) record

If i am having a User as a OverageHighVolumeCustomerPortal profile, it contains the Contact Lookup field. If i clicks the Contact Lookup then it throws the error like this: Insufficient Privileges ...
0
votes
1answer
32 views

The contact of the portal user couldn't be viewed from the user record details

I'm trying to view contact of the portal user from the user object in sandbox, but can't view it and I get the following error: You do not have the level of access necessary to perform the ...
2
votes
1answer
77 views

Can one implement a Mutex / Lock / Semaphore in Salesforce?

I have multiple processes (teams of users) that need to mutually exlusive work on the sames data records in Salesforce. Is there a way to simulate a kind of Mutex or Semaphore in Salesfore (e.g. ...
3
votes
1answer
137 views

Apex Managed Sharing for detail object

I am looking for a solution where I need to implement Apex Managed Sharing for a detail custom object whose master object is a standard object - in my case it is account. I have an object say ...
8
votes
2answers
119 views

are Triggers (and their delegated classes) or Batch affected by sharing?

I understand with sharing classes run in User Mode, meaning they respect permissions, field-level security and sharing rules of the current user. I understand without sharing classes run in System ...
2
votes
1answer
100 views

Case Assignment insufficient privileges

I have the following use case: A manager creates a case in Salesforce (manager is case owner). Send email from the inside the case. Closes the case. Manager assign case back to support ...
1
vote
1answer
212 views

How to share External Account, Contacts, Custom Object Records for Partner User in Communities

Is it possible to share the external Accounts to a Partner Enabled Account User(Partner Account -> Contact (Partner User)) ? The Scenario is something like this: I have Account, Opportunity etc. ...
4
votes
1answer
29 views

Sharing 'Document' sobject among different user?

Say, there are two users - A and B. One document - X X is owned by A but shared with B. The REST Access is granted with user B. If X was modified by A, would invoking 'updated' API from B's ...
5
votes
3answers
79 views

Auditing Sharing Records

Is there any way to see who created an AccountShare record, or when they did it? I've looked at the API docs for the AccountShare object, and it looks like there's no CreatedBy or CreatedDate ...
2
votes
0answers
38 views

Difference in Sharing modes of PriceBook (Product Portfolio)

When I look at any Product Portfolio sharing page I found these option: 1) To add a Public Group in which we can share the particular PP with Group's, Roles, Roles and Subordinate & User's. ...
1
vote
1answer
23 views

error: Unable to change sharing model because sharing objects are referenced by the following components

I'm developing a managed package which has some apex sharing functionality built into it. In the customer test org I'm attempting to set one of the referenced objects to be public read/write instead ...
4
votes
1answer
73 views

Apex Managed Sharing as customer portal user if class has “with sharing” modifier

Schema.getGlobalDescribe().get() on a custom Share object is returning null when the user is a CP user and the class has the with sharing modifier even though the custom object has an OWD of private. ...
5
votes
1answer
140 views

Partner Super User Access in Communities

I've asked this question a number of different ways over the past couple weeks and have yet to find a workable answer so here goes again. In communities there seems to be a checkbox that says "Enable ...
3
votes
2answers
38 views

Unable to see the fields

<apex:page standardController="Account"> <apex:pageBlock title="Hello{!$User.FirstName} {!$User.LastName}"> </apex:pageBlock> <apex:PageBlock title="Contacts"> ...
5
votes
1answer
159 views

Is is possible to grant delete permissions using apex managed sharing?

I have Custom_Object__c with: Org-Wide Default Settings as: Private Object Permissions in the user Profile: Create, Read, Edit, Delete. I have a small development in Apex that is creating some ...
3
votes
1answer
180 views

Salesforce Sharing - Add button not showing to system admin for records owned by communities users

Im a system admin user, I have a custom object with sharing set to "private". As a system admin i see a sharing button on the object record, but when i view the sharing details page i dont see "add" ...
2
votes
0answers
246 views

Editing child records when master is locked in master-detail relationship

When creating a custom master detail relation with oppty object I get to see the sharing setting, which is not available with standard out of box master-detail relation like quote and oppty. Does ...
2
votes
1answer
81 views

sharing a file via public link

Let's say we have a student object. Under Student Object, we have multiple files attached (such as certifications, etc). I want to expose public link for each files of each student. So that outside ...
3
votes
1answer
65 views

what permissions are necessary to be able to create apex sharing rules for a record?

I have a test user that has permission to a specific record but cannot create an apex managed sharing record for the given record. What additional permissions are necessary to be able to create a ...
7
votes
2answers
1k views

Sharing access to partner community users based on record owner

Im trying to write what feels like it should be a simple Apex sharing rule but not having much luck. Basically I want partner users to be able to see all "customers" (custom object) owned by customer ...
2
votes
1answer
36 views

Custom permissions on attachments based on condition

My requirement is, i want to set access permission on account attachments when check box custom field is not checked, means if check box is set true then user has permission to access the attachments, ...
6
votes
1answer
272 views

How to get Pricebook2 Sharing Rules using UserRecordAccess

I have an Apex class with sharing where I get a list of every Pricebook2 available in the database. Considering the fact that we use sharing rules to prevent access to some of them, my SOQL shouldn't ...
3
votes
1answer
49 views

Sharing settings on Accounts and Opps

Is there a way for users to see all the accounts for a Record type, but not allow them to see the opportunities UNLESS they are the opp owner, or if another condition is met? I think the answer is ...