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


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.

| improve this answer | |
  • 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 – Yogesh Bhosale Oct 12 '17 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 '17 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.