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. |
- Open your object-based custom Lightning type.
- Select the Schema tab.
-
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.
- To add more fields, click Add Row and enter the details for the new field.
- Save your work.