Skip to main content

Create Custom Fields

Follow Along with Trail Together

Want to follow along with an expert as you work through this step? Take a look at this video, part of the Trail Together series.

(This clip starts at the 4:39 minute mark, in case you want to rewind and watch the beginning of the step again.)

Track Your Discoveries with Custom Fields

As you continue to discover resources in the Salesforce ecosystem, you need places to track details like hyperlinks, notes, and more. You can do all of that within Salesforce, using the custom app you are building now.

Create a Custom Field for Type

Make a field for tracking the type of discovery you make, using a picklist field. A picklist is like a dropdown menu, where you can choose an item from a list.

  • Click Object Manager.
  • Click the Discovery object.
  • Click Fields & Relationships and then click New.
  • Select Picklist and then click Next.
  • Define the field as follows:
    • Field Label: Type
    • Field Name: Type
    • Values: Select Enter values, with each value separated by a new line
    • Enter the following values:
      • Website
      • Blog
      • Event
      • Podcast
      • Group
      • Job
      • Other
    • At Required, select Always require a value in this field in order to save a record.
  • Leave everything else as is, and click Next, Next, and Save & New.

Create a Custom Field for URL

Make a field for storing the URL of the resource you found. A URL is a hyperlink you can click to access a particular website or web page.

Because you clicked Save & New in the last section, you should already be on the New Custom Field page. If not, that’s OK. From Fields & Relationships on the Discovery object, click New.

  • Select URL and click Next.
  • Define the field as follows:
    • Field Label: Link
    • Field Name: Link
  • Leave everything else as is, and click Next, Next, and Save & New.

Create a Custom Field for Notes

Make a field that you can use to make free-form notes about the resource you discovered.

Because you clicked Save & New in the previous section, you should already be on the New Custom Field page. If not, that’s OK. From Fields & Relationships on the Discovery object, click New.

  • Select Text Area (Long) and click Next.
  • Define the field as follows:
    • Field Label: Notes
    • Field Name: Notes
    • # Visible Lines: 3
  • Leave everything else as is, and click Next, Next, and Save.

You did it! Up next, you create the app and add some data to your app.

Keep learning for
free!
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities