“Learn the step-by-step process for creating custom fields in Salesforce objects. Discover how to enhance data capture, improve reporting, and tailor Salesforce to fit unique business requirements with custom fields across various data types.

Custom Fields in Salesforce are the fields which an admin or developer can create to get additional information, not from a standard field of Salesforce. Salesforce provides custom fields so that companies can make Salesforce a little smarter as per their need in accounts, contacts, opportunities and even create new objects to get data. In modified fields, data types can be surrounded by various aspects such as text and numerical information to collect records logically.

Creating custom fields in Salesforce objects.

We store data in the form of objects and we have two types of objects namely Standard objects and Custom objects. After creating custom objects in Salesforce, we do Creating custom fields in Salesforce objects to store certain types of values in it’s fields. Like wise we have two types of fields in Salesforce.com they are

  1. Custom fields.
  2. Standard fields.
Creating custom fields in Salesforce objects - Salesforce

Standard Fields :- Standard fields are those which are provided by salesforce.com. Standard objects will have standard fields in them.

Custom Fields :- Custom fields are those created by user in an custom object. To create custom fields we have to create custom objects.

Custom Fields in Salesforce — Use Cases

  1. Data Collection: With custom fields, you can record and manage data elements that are unique to your processes but not part of Salesforce standard field set.
  2. Trigger automatons: Ability to refer the custom fields in Workflows and Validation Rules, Formulas & Flows — aids automation making sure not some data-integrity.
  3. Reporting and Analytics — Custom fields can be employed within reports and dashboards to monitor and analyze custom data
  4. Integrations: Custom fields make the process of data synchronization quicker and easier among systems, which further enhance a consistency in higher versions.

Common Custom Field Types in Salesforce

Here’s a table listing popular custom field types, their usage, and examples:

Custom Field TypeDescriptionExample
TextStores a single line of alphanumeric characters.Customer_ID__cOrder_Reference__c
Text AreaAllows multiple lines of text, useful for descriptions or comments.Comments__cAdditional_Info__c
Text Area (Long)Supports larger text blocks, up to 32,000 characters.Product_Details__cCustomer_Feedback__c
NumberStores numeric values, allowing for calculations and analytics.Order_Amount__cEmployee_Count__c
CurrencyStores financial values with currency symbols.Annual_Revenue__cBudget__c
DateStores date values without time.Contract_Start_Date__cDue_Date__c
Date/TimeStores both date and time values.Last_Interaction__cEvent_Date__c
PicklistProvides a dropdown of selectable values, ensuring consistent data entry.Region__cOrder_Status__c
CheckboxRepresents a true/false or yes/no option.Is_Active__cHas_Agreed__c
PercentStores percentages, often used in calculations or performance metrics.Discount_Rate__cSuccess_Rate__c
EmailStores valid email addresses, formatted for easy email sending.Customer_Email__cSupport_Email__c
PhoneStores phone numbers with validation.Customer_Phone__cSupport_Hotline__c
URLStores website URLs, clickable from records.Website__cProduct_Link__c
FormulaAuto-calculates values based on other field data or logic.Total_Price__cAge__c
Lookup RelationshipCreates a link to another record from a different object.Account_Manager__cPrimary_Contact__c
Master-DetailDefines a parent-child relationship, allowing child records to inherit parent properties.Order_Items__cCase_Updates__c

Here in this Salesforce objects tutorial, we create different types of fields like creating custom pick list, creating field dependencies, creating formula fields , What is meant by validation rules, how to create validation rules , Different relationships in Salesforce, creating master-detail relationships, creating Roll-up Summary fields and creating views in Salesforce.com.

Creating custom fields in Salesforce objects.

  1. How to create Picklist.
  2. Field Dependencies
  3. What is a Formula field.
  4. How to create Formula field.
  5. What is a Validation Rule.
  6. How to create a validation rule.
  7. Relationships in salesforce.
  8. How to create Master-Detail relationship.
  9. How to create Roll-Up Summary fields.
  10. How to create new view in salesforce.