banner



How To Create A Custom Field In Salesforce

Learning Objectives

After completing this unit, you'll be able to:

  • Describe common use cases for custom fields.
  • Create a custom field.

Why Customize Fields?

Salesforce provides several standard fields in each record. Standard fields are common to most CRM businesses, like company name, contact, account number, status, date, and amount. But every business is unique, and you may want to capture important info that's not covered by a standard field.

Custom fields are the way to do this. You can create custom fields on standard Salesforce objects or on custom objects. When you create a custom field, you decide where it appears, what info it contains (1), what format it should be (such as number, text, date, or picklist) (2), and who sees it and who can change the field value.

Data types you can choose to determine the format of a custom field.

Fields can store many different types of data. When you create a field, it's important to define whether you want users to choose from a predefined list of options or whether you want them to enter raw info. For example, you might offer a common set of values for a custom field with the label Status—new, assigned, in progress, and complete—to track work consistently across multiple accounts. Or you might add a free-form text field for comments or account details that vary from record to record.

Try It Yourself

  1. In your Salesforce org, click Setup and select Setup to open Setup.
  2. Click the Object Manager tab. If you don't see it, enter Object Manager in the Quick Find box.
  3. From the Object Manager Object Manager page, select an object such as Account or Asset. This opens a details page for that object. close-up of Object Manager page
  4. From the sidebar, click Fields & Relationships. Notice that there are already some fields there. Those are the standard fields.
  5. Click New to create a custom field. Tip: Before creating a new field, do a quick search to make sure a similar one doesn't already exist. close-up of the new button used to create a new custom field
  6. Next, choose a data type. Choosing a data type helps you format the field input. For example, if you create a field with the Date data type, users can enter a date or pick one from a popup calendar. Account detail page showing rules and format for a date custom field.
  7. Click Next, and then fill out the Field Name, input format (text, numbers, decimals, and so on), and description, and click Next.
  8. Select the field's visibility and edit access.
  9. Click Next. Then click Save.

Watch a video that demonstrates how to create custom fields in Lightning Experience.

Summary

Custom fields make Salesforce work better for you and your business. The total number of fields you can create depends on which edition of Salesforce you're using. For Enterprise customers, the limit is usually 800 custom fields.

Resources

  • Trailhead: Build a Lemonade Stand App
  • Trailhead: Customize a Salesforce Object
  • Salesforce Help: Custom Field Types
  • Salesforce Help: Create a Custom Picklist Field

How To Create A Custom Field In Salesforce

Source: https://trailhead.salesforce.com/en/content/learn/modules/custom-fields-quick-look/create-a-custom-field

Posted by: belltrainge.blogspot.com

0 Response to "How To Create A Custom Field In Salesforce"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel