function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
myforcedotcommyforcedotcom 

EncryptedText Field Type

I am modifying the field attributes of a custom field using Eclipse.

On of the types available is EncryptedText.

When I save the object I get and Invalid data type error. Here are the attributes for the field type:

 

 

<fields>
        <fullName>XXXPassword__c</fullName>
        <externalId>false</externalId>
        <label>XXXPassword</label>
        <length>25</length>
        <required>false</required>
        <trackFeedHistory>false</trackFeedHistory>
        <unique>false</unique>
        <type>EncryptedText</type>
        <maskChar>asterisk</maskChar>
        <maskType>all</maskType>
    </fields>

 

 

 

thanks in advance for your help with this

sfdcfoxsfdcfox

The EncryptedText type must first be enabled by Customer Support before you can create a field that uses this data type. If you have not yet opened a case with Customer Support for your organization, please contact them using the Help link in the upper-right corner after logging in. This is a Feature Activation Request.