Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Create Custom Fields

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 with each value separated by a new line. Make sure to exclude the bullet points.
      • 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.

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback