In the video, I was showing when the Share Object will be available or not. So if the Object Have Any active Sharing Rule then Share Object will always be available no matter what OWD is.
Thanks Amit for great session. I have tested this scenario 11:14 and on public R/W share object will not be available. generally it will take few seconds to reflect as correct value(share object will be available or not). in owd public R/W share object will not be available.
Hi Amit, I have a scenario for Account class where the particular record must be shared based on checkbox field = false to a role. If I follow the above flow, will that update all records wherever checkbox field = false. Do I need to use schedule batch apex to run for all records. Can you suggest a solution for this scenario. Thanks.
@@aditichavan9197 Yes you can create a sharing rule define the criteria and share with whom you wanted to share. It will recalculate the Sharing rule and provide the access.
In the video, I was showing when the Share Object will be available or not. So if the Object Have Any active Sharing Rule then Share Object will always be available no matter what OWD is.
Thanks, Amit! :-)
With Spring 21, Manual Sharing is now available in lightning too.
awesome session ! Thank you sir
Thanks Amit for great session.
I have tested this scenario 11:14 and on public R/W share object will not be available. generally it will take few seconds to reflect as correct value(share object will be available or not).
in owd public R/W share object will not be available.
Helpful!!
Manual sharing is available in Lightning.
Can you tell me is share object for every object?
what would happen in case is a mass insert (let's say 300 records)? since you are using get(0). thanks Amit
How to deploy it in production?
What is best practice to deploy flow with apex class?
It's the same process which we do use to deploy other components. We only need to assure that we have the code coverage for that apex class.
Hi Amit, if the interviewer is not having CRED access for candidate object in profile level. Will he be able to access the records of candidate?
No in that case no access.
I was wondering can't we create a sharing record in flow itself?, do it has to be only through Apex Action?
Yes you can create but as this is apex managed sharing and the goal was to show how you can do that using Apex that's why an apex class.
Hi Amit,
I have a scenario for Account class where the particular record must be shared based on checkbox field = false to a role. If I follow the above flow, will that update all records wherever checkbox field = false. Do I need to use schedule batch apex to run for all records. Can you suggest a solution for this scenario.
Thanks.
Hello if the records are already there in the system then you need to write a batch apex and for the new records you can use the above flow.
@@sfdcpanther Any way to make it work like sharing rules
@@aditichavan9197 Yes you can create a sharing rule define the criteria and share with whom you wanted to share. It will recalculate the Sharing rule and provide the access.