function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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.