Create a Custom Field
Capture your unique business data by storing it in custom fields. When you create a custom field, you configure where you want it to appear and optionally control security at the field level.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
Available in: Contact Manager, Group, Essentials, Starter, Professional, Enterprise, Performance, Unlimited, Developer, and Database.com Editions Salesforce Connect external objects are available in: Developer Edition and for an extra cost in: Enterprise, Performance, and Unlimited Editions Custom fields aren't available on Activities in Group Edition Layouts aren't available in Database.com |
| User Permissions Needed | |
|---|---|
| To create or change custom fields: | Customize Application |
| To add field-level security to profiles or permission sets: | Manage Profiles and Permission Sets |
Before you begin, determine the type of field you want to create and review the considerations. See Considerations for Creating a Custom Field.
-
From the management settings for the object you want to add
a field to, go to Fields & Relationships.
Custom task and event fields are accessible from the object management settings for Activities.
- Click New.
- Choose the type of field and then click Next.
- For relationship fields, associate an object with the field and click Next.
- For indirect lookup relationship fields, select a unique, external ID field on the parent object, and then click Next. The parent field values are matched against the values of the child indirect lookup relationship field to determine which records are related to each other.
- Enter a field label.
- To base a picklist field on a global picklist value set, select the value set to use.
- To specify whether the field must be populated and what happens if the record is deleted, enter field attributes and select the appropriate checkboxes.
- For master-detail relationships on custom objects, optionally select Allow reparenting to allow a child record in the master-detail relationship to be reparented to a different parent record.
- For a relationship field, optionally limit search results for the field by creating a lookup filter. Lookup filters aren’t available for external objects.
- Click Next.
-
In Enterprise, Unlimited, Performance, and Developer Editions, specify
the field’s access settings for each profile or permission set, and then click
Next.
To specify the field’s access settings for permission sets instead of profiles, enable Field-Level Security for Permission Sets during Field Creation on the User Management Settings page. If you specify access for permission sets, select Permission sets with object permissions to filter the list to permission sets that have Create, Read, Edit, or Delete access on the field’s object. To show all permission sets, deselect this option. If no permission sets have object permissions for the field’s object, the list contains all permission sets.
Access Level Enabled Settings (Profiles) Enabled Settings (Permission Sets) Users can read and edit the field. Visible Edit Access (Read Access is selected automatically) Users can read but not edit the field. Visible and Read-Only Read Access Users can’t read or edit the field. None None By default, a custom field isn’t visible or editable for portal profiles unless the field is universally required.
-
Select the Dynamic Forms-enabled Lightning record pages that should include the field,
then click Next.
If you don’t have any Dynamic Forms-enabled Lightning record pages for the object, this step doesn’t appear.
- Select the page layouts that should include the field, and then click Next.
- For relationship fields, optionally click Related List Label, enter a new name to create an associated records related list, and then add it to the page layouts for that object. To add the related list to customized page layouts, select Append related list to users’ existing personal customizations.
- Click Save to finish or Save & New to create more custom fields.
The number of custom fields allowed per object varies according to your Salesforce edition. For the total number of custom fields that you can create, see Custom Fields Allowed Per Object.
Creating fields can require changing a large number of records at once. If your request is queued to process these changes efficiently, you receive an email notification when the process has been completed.
Want to customize Salesforce so it captures all your business data? This short video walks you through how to create a custom picklist field, from choosing the correct field type to applying field-level security.
Watch a Demo:
How to Create a Custom Field in Salesforce (Salesforce Classic)
Want to add and arrange a new field while viewing an individual record for an object? This short video walks you through creating a picklist field while viewing a contact and then changing the page layout for the field.
Watch a Demo:
How to Add a Custom Field in Salesforce (Lightning Experience)
See Also
- Trailhead: Custom Fields: Quick Look
- Salesforce Help: External Object Relationships
- Salesforce Help: Which Custom Fields Can I Encrypt?
- Salesforce Help: Differences Between Classic Encryption and Shield Platform Encryption
- Salesforce Help: Find Object Management Settings
- Salesforce Help: Map Custom Lead Fields for Lead Conversion
- Salesforce Help: Enable Field-Level Security for Permission Sets during Field Creation
- Salesforce Help: Set Field-Level Security for a Field on All Permission Sets

