+ Start a Discussion
Vijay sidaraddiVijay sidaraddi 

how to give read / write access for users using triggers when they are added to particuler case.

  1. Trigger for Sharing records – how to  build the following triggers?
    1. On the Case object  object
      1. When the case is assigned to QSC contact , he needs to get visibility in Read Write mode
      2. If the QSC Contact is removed, this visibility need to be removed
Dilip_VDilip_V
Vijay,

Take a look at this resources
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm
http://www.jitendrazaa.com/blog/salesforce/apex-based-sharing-in-salesforce/

Thanks.