When a sandbox with encrypted fields is cloned to another sandbox, do those fields carry over encrypted, with all the same encryption settings? Or are they returned to a normal state when utilizing Platform Encryption? I am not finding any Salesforce documentation specifically outlining the answer to this question. I found this, however it mentions production --> Sandbox. Rather than Sandbox --> Sandbox

  • did you try this and see what would happen? My suspicion is that the encryption WILL transfer – cropredy Sep 5 '19 at 19:34

During any org copy procedure, metadata is always copied identically from the source org, with one exception: if the Org ID is used anywhere, it is automatically updated to the new org's ID value. This includes email template, reports, custom labels, formulas, validation rules, and so on. Encrypted fields would also remain encrypted, as that is part of the org's metadata.

  • Pretty much spot on with this answer. – John Whelan Sep 9 '19 at 19:01
  • The sandbox was copied and this is the behavior I saw. Thanks @sfdcfox – TestMcTesterson Sep 10 '19 at 14:06

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.