3 Replies Latest reply on Jan 26, 2017 1:10 PM by [email protected]

    How to hide fields that contain sensitive information


      I'd like to include a SS# field on a service request that is only visible to the person submitting the request and one other role. I used the following visibility expression:


      if CurrentUserRole() == "Self Service"

        then true

        else false || (if CurrentUserRole() == "Admin Julie" then true else false)


      This works for the Admin Julie role, but not Self Service (it's hidden for all roles except Admin Julie). Any ideas on how to fix this or is there a better way to hide the field after it's submitted to be only viewed by an admin.