Custom fields consist of several attributes that provide additional information about the field. Some of these attributes are not restored automatically after a field is undeleted and must be restored manually.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
|
Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, Developer, and Database.com Editions Page Layouts and Lead Fields are not available in Database.com |
| User Permissions Needed | |
|---|---|
| To restore deleted custom fields and relationships: | Customize Application |
| To permanently delete custom fields or relationships: | Customize Application |
Important Where possible, we changed noninclusive terms to align with our company
value of Equality. We maintained certain terms to avoid any effect on customer
implementations.
- Add the field to any page layouts that changed during the time the custom field was deleted. If reports and page layouts were not edited, the restored field remains on them.
- Make the field unique if necessary. Salesforce automatically removes the unique attribute from any deleted custom field.
- Make the field required if necessary. Salesforce automatically removes the required attribute for any deleted custom field.
- Add the custom field to any appropriate Salesforce AppExchange packages. Salesforce automatically removes deleted custom fields from packages that contain them.
- Convert lookup relationships to a master-detail relationship if necessary. Salesforce converts all relationships to lookup relationships when they are deleted. To convert a lookup relationship to a master-detail relationship, populate all the applicable records with the appropriate data.
- Redefine any field dependencies that Salesforce removed when the field was deleted.
- Edit and save any formula fields. Saving prompts a syntax check; if necessary, resolve errors.
- Set up field history tracking if necessary. If the list of fields enabled for history tracking was modified during the deletion process, the restored field is no longer setup to track field history.