I have added few field in the Account Object lets say I want to convert this field account_field1 text(100) to account_field1 Text( Encrypted(100))

How can I convert it Salesforce do not display encrypted field when it is data type change button is pressed any solution will be helpful

1 Answer 1


Quoting the relevant information about best practices from documentation: Classic Encryption for Custom Fields

Existing custom fields cannot be converted into encrypted fields nor can encrypted fields be converted into another data type. To encrypt the values of an existing (unencrypted) field, export the data, create an encrypted custom field to store that data, and import that data into the new encrypted field.

  • Apparently this is not true , I could connect the Salesforce through eclipse and modify the Object/Field definition where it change the data type to Encrypted . Downside is it is deleting all the data of the column Oct 12, 2017 at 10:05
  • It might be possible but as you know not the recommended way as mentioned in best practices; hence you lose the data. ;)
    – Raul
    Oct 12, 2017 at 10:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .