How do hash or mask the view of certain personal information? For instance, how do we display for Viewer roles, an SSN as ###-##-1234 and only show last 4 digits?

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Photo of Jim

Jim

  • 0 Points

Posted 4 years ago

  • 0
  • 1
Photo of Drew

Drew

  • 492 Points 250 badge 2x thumb
You can do a formula - text field to use on the display form.  If your main field is [number], make a formula text field called [hidden number].  have the formula be something along the lines of "xxx-xx-"&right([number],4).
Just to add to Drew's response, you would then use a form Rule based in the "User in the Role Viewer" to show this new field and hide the real field.  You also should set the real fields access permissions to not be visible to users in the Role Viewer, so they cannot make a report exposing the real field.  Then in the formula field, you will need to check the box which says to override sub field permissions.
Photo of Jim

Jim

  • 0 Points
Perfect. That works. Thank you for the guidance.