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
Rick RossiRick Rossi 

Apex Class Data Masking

I am trying to mask the case object (case subject) to a value of "N/A"how woudl that look in an apex class?

Thanks!
VinayVinay (Salesforce Developers) 
Hi Rick,

I haven't try how it looks like but below are few check points.

Data Masking is a paid product. Used for masking data and provide Data Security.

Below should be enabled in the org
> MyDomain
> Lightning Experience
> Enhanced Email

Check below reference that can give more details

https://developer.salesforce.com/blogs/2020/05/data-mask-protect-sensitive-data-when-testing-apps.html
https://trailhead.salesforce.com/en/content/learn/modules/salesforce-data-mask

Thanks,