Manual & Apex Managed Sharing in

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 19

  • @sfdcpanther
    @sfdcpanther  3 года назад +8

    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.

  • @LearnersBliss
    @LearnersBliss 3 года назад +2

    With Spring 21, Manual Sharing is now available in lightning too.

  • @prahladbhadani
    @prahladbhadani 2 года назад

    awesome session ! Thank you sir

  • @sushmamaurya5083
    @sushmamaurya5083 2 года назад

    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.

  • @ajitkr8233
    @ajitkr8233 3 года назад

    Helpful!!

  • @jyotitripathi2088
    @jyotitripathi2088 2 года назад

    Manual sharing is available in Lightning.

  • @prasadpj8577
    @prasadpj8577 Год назад

    Can you tell me is share object for every object?

  • @massimotarquini1168
    @massimotarquini1168 2 года назад

    what would happen in case is a mass insert (let's say 300 records)? since you are using get(0). thanks Amit

  • @sushildholani429
    @sushildholani429 3 года назад

    How to deploy it in production?
    What is best practice to deploy flow with apex class?

    • @sfdcpanther
      @sfdcpanther  3 года назад +1

      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.

  • @subasishnayakofficial
    @subasishnayakofficial 2 года назад

    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?

  • @LearnersBliss
    @LearnersBliss 3 года назад

    I was wondering can't we create a sharing record in flow itself?, do it has to be only through Apex Action?

    • @sfdcpanther
      @sfdcpanther  3 года назад

      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.

  • @aditichavan9197
    @aditichavan9197 3 года назад

    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.

    • @sfdcpanther
      @sfdcpanther  3 года назад

      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.

    • @aditichavan9197
      @aditichavan9197 3 года назад

      @@sfdcpanther Any way to make it work like sharing rules

    • @sfdcpanther
      @sfdcpanther  3 года назад

      @@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.