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
Govardhan Reddy GuduruGovardhan Reddy Guduru 

I want to mask the IP Address

Ex: ip adress text field (255.255.255.255), when i saved the record need map/update the same field xxx.xxx.xxx.xxx.       Using trigger or process builder..etc

Thanks,
Govardhan.
SandhyaSandhya (Salesforce Developers) 
Hi,

You can use encrypted text field.Refer below link

https://help.salesforce.com/articleView?id=fields_about_encrypted_fields.htm&type=5
 
https://salesforce.stackexchange.com/questions/175341/how-to-mask-and-format-credit-card-number-before-saving-in-salesforce
 
Please mark it as solved if my reply was helpful, it will make it available for others as a proper soultion.

Best Regards,
​Sandhya
 
Govardhan Reddy GuduruGovardhan Reddy Guduru
Hi Sandhya,

Thanks for the Reply.
Here, if will use "encrypted text field" data type we can't acheive "Ip Address" masking, but we can do phone num, security num, credit card..etc i agree,
I am looking for only IP address masking.

Regrds,
Govardhan.
Matt Parker 5Matt Parker 5
Hi Govardhan,

You can accomplish this with PCIFY: https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EcvUUUAZ

You can mask the text field automatically on save, and you can also search your org for other IP addresses to mask.  There's a free trial and you can test in a sandbox to see if it works for your use case.