afv-library/skills/platform-encryption-configure/assets/encrypted-field.field-meta.xml

23 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>{FIELD_API_NAME}__c</fullName>
<label>{FIELD_LABEL}</label>
<type>{FIELD_TYPE}</type>
<length>{LENGTH}</length>
<encryptionScheme>ProbabilisticEncryption</encryptionScheme>
</CustomField>
<!--
TEMPLATE NOTES — delete this comment block before delivering the file.
<type>: Text for string fields up to 255 chars; LongTextArea only for 256+.
"long text up to 255 characters" is Text, NOT LongTextArea.
<encryptionScheme> must be exactly one of:
ProbabilisticEncryption strongest; NOT filterable/sortable/groupable
CaseSensitiveDeterministicEncryption filterable; exact-case equality
CaseInsensitiveDeterministicEncryption filterable; case-normalized equality
None removes encryption
Only deterministic schemes support filter / sort / group. A query that filters
a probabilistically-encrypted field is REJECTED with INVALID_FIELD.
-->