Skip to main content
Paddy R 님이 #Data Management에 질문했습니다
I have custom field on Oppty object - by the name "Sales Owner" - (It is User Vlookup).

 

I want to give edit access to the Sales owner. Is this can be done with the criteria based Sharing rules? I did not find any solution using configuration?

 

Do you have any suggestion on this? else i will need to write code..

 

I would appreciate if you please share the code to do this..
답변 5개
  1. 2014년 6월 24일 오후 7:01
    So to make sure I understand... you have an opportunity that is owned by Jane. John currently does not have access or limited access to the opportunity based on your OWD. If Jane adds John as the Sales Owner you want John to be able to have read or read/write access to the Opportunity now. Is that right? Assuming so I think you will need to do some Apex Sharing. Apex sharing lets you programmatically add users to a records sharing table which would give you what you are looking for. For more info on Apex Sharing check out this article. http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_bulk_sharing_creating_with_apex.htm