Skip to content
✦ Made with Docsie · generated from video

How to Create a Custom Field in Salesforce

This guide shows you how to create a custom field in Salesforce, using two practical examples: a Text field and a Number field added to the Case object. You'll walk through the full process in Salesforce Setup — from selecting a field type to verifying the field on a live Case record.

Salesforce 16 steps 14 screenshots 876 words Source video 4:56 Generated cost $1.75

Video: How to create custom fields in Salesforce lightning | adding new fields | Salesforce tutorial by Codekiat [Salesforce Tutorials]. All credit for the demonstration goes to the creator; watch the original on YouTube. The written guide below was generated from this video by Docsie. Creator? Request a change or removal.

This guide shows you how to create a custom field in Salesforce, using two practical examples: a Text field and a Number field added to the Case object. You'll walk through the full process in Salesforce Setup — from selecting a field type to verifying the field on a live Case record.

Salesforce Tutorials introduction screen with presenter and Salesforce logo
Salesforce Tutorials introduction screen with presenter and Salesforce logo
Salesforce New Custom Field screen with Issue field filled and cursor on Next button
Salesforce New Custom Field screen with Issue field filled and cursor on Next button

Prerequisites

Before you begin, make sure you have the following:

  • A valid Salesforce login (username and password)
  • Access to Setup and the Object Manager in your Salesforce organization
  • Permission to modify the Case object and add new fields
Salesforce login screen with username and password fields filled, cursor on Log In button
Salesforce login screen with username and password fields filled, cursor on Log In button
1

Log in to Salesforce

Go to https://login.salesforce.com, enter your username and password, and click the blue Log In button.

2

Open Salesforce Setup

Once logged in, locate the gear icon in the upper right corner of the Salesforce interface. Click it to open the dropdown menu, then select Setup.

Salesforce main interface with gear icon dropdown open, cursor on Setup option
Salesforce main interface with gear icon dropdown open, cursor on Setup option
3

Navigate to Object Manager and select Case

In the Setup area, click Object Manager at the top of the page. In the Object Manager list, scroll down and select Case.

Salesforce Object Manager screen with Case object highlighted
Salesforce Object Manager screen with Case object highlighted
4

Open Fields & Relationships

In the Case object setup, click Fields & Relationships in the left sidebar. Review the list of existing fields, then click the New button at the top right to start creating a new field.

Salesforce Fields & Relationships list with additional fields visible
Salesforce Fields & Relationships list with additional fields visible
5

Select the field type

On the New Field screen, scroll down to view the available field types. For the first custom field, select Text by clicking its radio button. The description reads: "Allows users to enter any combination of letters and numbers."

Field type selection screen with Text option highlighted and description visible
Field type selection screen with Text option highlighted and description visible
6

Configure the Text field

Under Step 2 of the New Custom Field screen, enter the field details:

  • Field Label: Issue
  • Length: 50
  • Field Name: auto-populates as Issue
  • Description and Help Text: leave blank (optional)
  • Required: check Always require a value in this field in order to save a record only if you want to make the field mandatory; in this example, leave it unchecked
  • Unique, External ID, and Default Value: leave as they are

Click the Next button at the top right or bottom right of the screen to continue.

Salesforce New Custom Field screen with Issue, Length 50, and required/unique options visible
Salesforce New Custom Field screen with Issue, Length 50, and required/unique options visible
7

Review field-level security

On the Establish field-level security screen, review the list of profiles. For this example, no changes are needed — leave all default selections as they are, then click Next to proceed.

8

Add the field to page layouts

On the Add to page layouts screen, review the available layouts (for example, Case (Marketing) Layout, Case (Sales) Layout, Case (Support) Layout, Case Layout, and Close Case Layout). The new field is automatically added to all selected layouts.

Click Save & New to save the Text field and immediately begin creating the next custom field.

9

Select the Number field type

On the New Custom Field screen, select Number by clicking its radio button, then click Next to continue.

Salesforce field type selection screen with Number option selected
Salesforce field type selection screen with Number option selected
10

Configure the Number field

Under Step 2, enter the field details:

  • Field Label: Number of Machines Impacted
  • Length: 5
  • Decimal Places: 0
  • Field Name: auto-populates as Number_of_Machines_Impacted
  • Description and Help Text: leave blank (optional)
  • Required, Unique, and External ID: leave as they are

Click Next to continue.

11

Review field-level security for the Number field

On the Establish field-level security screen, review the list of profiles. As before, leave the default selections unchanged and click Next to proceed.

Salesforce field-level security screen for Number of Machines Impacted field
Salesforce field-level security screen for Number of Machines Impacted field
12

Finalize the Number field

On the Step 4. Add to page layouts screen, confirm the field will be added to all listed layouts (Case (Marketing) Layout, Case (Sales) Layout, Case (Support) Layout, Case Layout, Close Case Layout). Click Save to complete the creation of the field.

13

Verify both custom fields on the Case object

After saving, you're redirected to the Fields & Relationships list for the Case object. Confirm that both new fields appear in the list:

  • Issue appears as a Text(50) field
  • Number of Machines Impacted appears as a Number field

Scroll through the list to double-check that both fields are visible and correctly configured.

14

Verify the fields on a Case record

Return to the Service Console to confirm the fields appear on an actual Case record.

Open a Case record and go to the Details tab. Confirm that both Issue and Number of Machines Impacted are visible in the details section.

Salesforce Service Console with Case record tab open
Salesforce Service Console with Case record tab open
Salesforce Case Details tab showing Issue and Number of Machines Impacted fields
Salesforce Case Details tab showing Issue and Number of Machines Impacted fields
15

Test data entry

Enter a value in the Issue field (for example, "Issue with mother board") and a value in the Number of Machines Impacted field (for example, "10"). Click Save to save the record.

Salesforce Case edit screen with Issue and Number of Machines Impacted fields filled and Save button highlighted
Salesforce Case edit screen with Issue and Number of Machines Impacted fields filled and Save button highlighted
16

Confirm the saved data

After saving, verify that the values you entered for Issue and Number of Machines Impacted display correctly in the Case details.

Salesforce Case details showing saved Issue and Number of Machines Impacted values
Salesforce Case details showing saved Issue and Number of Machines Impacted values

Summary

You have now created and verified two custom fields — a Text field and a Number field — on the Salesforce Case object, from field creation through page layout assignment and live data entry.

What's next

If you have further questions about creating custom fields, refer to the Salesforce documentation for details on field types, validation rules, and page layout options.

Generation details: cost, quality tiers

Docsie billed 2,500 credits ($1.75) to analyze this 5-minute video at standard quality. The rewrite, template fill and Word/PDF exports were included. The same video at each quality tier:

QualityFrames sampledCreditsApprox. cost
Draftevery 16-30 s1,250$0.88
Standard (this guide)every 8-15 s2,500$1.75
Detailedevery 4-7 s5,000$3.50
Ultraevery 1-3 s10,000$7.00

Credits priced at $0.70 per 1,000; plans include a monthly allowance. Enterprise customers on on-premise or bring-your-own-model deployments run this on their own inference and pay no per-video credits.

Generated by Docsie Video-to-Docs on 2026-10-01 from a 4-minute video. Screenshots are frames from the source video and belong to their creator, Codekiat [Salesforce Tutorials], whose original is embedded above. If you own this video and want the guide removed or credited differently, contact us and we will act within one business day.

Turn your own training videos into guidesJoin teams that save hours, reduce documentation work and scale training with Docsie.
See Docsie in action. No commitment.

Ready to Transform Your Documentation?

Start creating professional documentation that your users will love