You need to sign in to do that
Don't have an account?
SFDC_2706
Lead custom sharing rules using apex
Hi Experts
I need a solution on lead sharing rules using apex. I have a field called try_me__c on Lead which is a lookup to user record. So whenever the user update this field and put some user name then the same record should become accessible/visible to the same user as currently OWD is set to private.
Currently we have 30+ sharing rules working on for every user and but really want to get rid of this and want some apex dynamic sharing solution. I hope the requirement is clear to you all.
Looking forward to your quick and amazing answers.
Thanks
I need a solution on lead sharing rules using apex. I have a field called try_me__c on Lead which is a lookup to user record. So whenever the user update this field and put some user name then the same record should become accessible/visible to the same user as currently OWD is set to private.
Currently we have 30+ sharing rules working on for every user and but really want to get rid of this and want some apex dynamic sharing solution. I hope the requirement is clear to you all.
Looking forward to your quick and amazing answers.
Thanks