Define Fields for an Object-Based Lightning Type

After you create an object-based custom Lightning type, define its schema by specifying fields.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions.
  1. Open your object-based custom Lightning type.
  2. Select the Schema tab.
  3. Update the prepopulated field row with your field details.
    • Field Name. Enter a name for the field, for example, First Name.
    • Data Type. Select a data type, for example, String.
    • Description. Optionally, enter a description to help users understand what the field represents.
    • Required. Optionally, select this checkbox to make the field required.
  4. To add more fields, click Add Row and enter the details for the new field.
  5. Save your work.