Custom Field

Administration 🟡 Intermediate
📖 4 min read

Definition

A Custom Field is a field created by an administrator on any standard or custom object to capture data specific to the organization's needs. Salesforce supports many custom field types including text, number, date, picklist, formula, lookup, and more. Custom field API names end with "__c".

Real-World Example

The admin at PeakFitness Gym adds a custom picklist field called "Membership Tier" to the Contact object with values Bronze, Silver, Gold, and Platinum. The front desk staff uses this field to quickly identify a member's level when they check in, and the marketing team segments email campaigns based on tier to promote relevant upgrade offers.

Why Custom Field Matters

A Custom Field is an administrator-created field added to any standard or custom object to capture data specific to the organization's requirements. Salesforce supports over 20 custom field types including Text, Number, Currency, Date, Picklist, Formula, Lookup, Master-Detail, and Roll-Up Summary. Custom field API names are automatically appended with '__c' to distinguish them from standard fields. Custom Fields are the most fundamental building block of Salesforce customization because they define what data your organization tracks, how it is validated, and how it connects across objects — every report, dashboard, automation, and integration depends on having the right fields capturing the right data.

As Salesforce orgs mature and accumulate hundreds of custom fields, governance becomes critical. Organizations without field governance often end up with duplicate fields created by different admins, abandoned fields that inflate page load times, and inconsistently named fields that confuse users and developers alike. Salesforce imposes limits on the number of custom fields per object (varying by edition), and every field consumes metadata that impacts deployment times and org performance. Best practices include maintaining a data dictionary that documents each field's purpose and owner, conducting quarterly field audits to identify unused fields, and establishing naming conventions that make field purposes immediately clear. Formula fields deserve special attention because complex formulas can impact record save performance and contribute to the compiled formula character limit.

How Organizations Use Custom Field

  • PeakFitness Gym — PeakFitness Gym added a custom picklist field called 'Membership Tier' to the Contact object with values Bronze, Silver, Gold, and Platinum. Front desk staff use the field to identify member levels at check-in, and the marketing team segments email campaigns by tier to promote relevant upgrade offers. The field also drives a formula field that calculates the monthly membership revenue per contact for financial reporting.
  • Vertex Engineering — Vertex Engineering created a custom roll-up summary field on the Project object that calculates the total hours logged across all related Time Entry child records. Project managers see real-time budget burn rates on the Project record without running reports, and an alert triggers when logged hours exceed 80% of the budgeted hours. This field prevented three projects from going over budget in the first quarter by enabling early intervention.
  • Brightstar Realty — Brightstar Realty added a custom geolocation field to their Property custom object that stores the exact latitude and longitude of each listing. This powers a Lightning component on the Account record page showing a map with all properties a client has viewed, helping agents identify geographic preferences. The geolocation data also feeds a proximity search feature on their customer-facing portal that shows nearby listings within a configurable radius.

🧠 Test Your Knowledge

See something that could be improved?

Suggest an Edit