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
Nagarajan CNagarajan C 

I have two user in salesforce with one profile . Need to view data based on record type only

I have two user in salesforce with one profile . Need to view data based on record type only.
User 1 - Access to one record type  Data only  (reords in view)
User 2 - Access to second record type  Data  only(reords in view).

Record type level achived by permission set. View Data how to achive. (other than sharing seeting)

Thanks
C. Nagarajan



 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Nagarjan,  

Can you confirm if OWD for this object is private?

Thanks,
 
Nagarajan CNagarajan C
Yes OWD is Private 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Nagarjuna,

You can make two sharing rules and use Type as parameter and share the records to individual users.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,