How to get data encrypted when Input into a field

Hello,

The below is a code of one of my field

a!integerField(
label: "Social Security Number ",
labelPosition: "ABOVE",
value: ri!SSN,
saveinto: ri!SSN,
refreshAfter: "UNFOCUS",
required: true,
readonly: false,
validations: {}
)

How to encrypt the data, which is entered as on input into this field? Though when I check the data in record it should be masked ex: the input is 8276, In the record it should display as xxxx but in the database the same field should be encrypted.

  Discussion posts and replies are publicly visible

Parents
  • Hi nellorea,

    This may help you.
    docs.appian.com/.../Encrypted_Text_Component.html

    On a note you also need to look at the below one:

    1)The value is encrypted before it can be acted upon by a validation expression, no validation beyond checking for requiredness is possible with this component. For example, it is not possible to write an expression that validates that an id number matches the form xxx-xx-xxxx, nor is it possible to compare to values of type Encrypted Text to determine if they are equal.2

    2)When creating an interface that uses this component to save into an rule input of type Encrypted Text, the value of that input is not displayed inline in the Data pane. To access the value, click [Encrypted Text] in the value column.Literal values or variables of other types are not valid.



    Thanks,
    ravalik

Reply
  • Hi nellorea,

    This may help you.
    docs.appian.com/.../Encrypted_Text_Component.html

    On a note you also need to look at the below one:

    1)The value is encrypted before it can be acted upon by a validation expression, no validation beyond checking for requiredness is possible with this component. For example, it is not possible to write an expression that validates that an id number matches the form xxx-xx-xxxx, nor is it possible to compare to values of type Encrypted Text to determine if they are equal.2

    2)When creating an interface that uses this component to save into an rule input of type Encrypted Text, the value of that input is not displayed inline in the Data pane. To access the value, click [Encrypted Text] in the value column.Literal values or variables of other types are not valid.



    Thanks,
    ravalik

Children
No Data