Cert++
Close

Deleting lookup and master-detail fields

Key Takeaway

Salesforce blocks the delete when something else depends on a lookup or master-detail field, and it keeps a deleted field and its data for a short time so you can restore them.

Lookup and master-detail fields are custom relationship fields that link records on one object to records on another object. A relationship field is a type of custom field, so lookup and master-detail fields follow the normal rules for deleting custom fields.

How to delete a lookup or master-detail field

To delete a custom field, you need both the "Customize Application" and "View All Data" permissions.

  1. Find out whether other fields reference the field, and which ones.
  2. From the object's management settings, go to "Fields".
  3. Click "Del" next to the field.
  4. Select the "Yes, I want to delete the custom field" checkbox.
  5. Click "Delete".
Platform Administrator Study Guide

Checklist progress

0/324Learned

Explain how to create, delete, and customize fields and page layouts on standard and custom objects, and know the implications of deleting fields (roll-up summaries, cross object formulas, picklist dependencies, relationship fields)

0/20

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Platform Administrator studiers. 757 members and growing.