Define data structures and user interface configurations for supported platform
features. You can base your type on an Apex class to ensure data consistency, or define a custom
structure manually by using a JSON schema.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and
Developer Editions.
|
-
From Setup, in the Quick Find box, enter Lightning Types, and then
select Lightning Types.
-
Click New Lightning Type.
-
Enter a label and an API name for the Lightning type.
-
Optionally, enter a description.
-
Click Next.
-
To define the schema for your Lightning type, select Apex and then
select the appropriate Apex class. To define a custom schema, select
Object.
-
Click Create.