Creating an Object Type
Here is a quick guide for creating your first Object Type in Contextual.
- Access your Contextual Console
- In the left sidebar, under Build, select Object Types
- Select New Object Type
- On the Basics step, provide the basic Definition...
- Name - required, editable
- Identifier - required, permanent, must be unique
- Plural name - optional, editable
- Description - optional, editable
- Display - required, editable: Default, Data, or Setting (see Definition)
- Default list style - required, editable
- Click Next
- On the Schema step, create the Data Schema
- See Examples, take advantage of Automatic Record Metadata and Generated Values
- Everything about your Data Schema can be updated except for the primaryKey, which is permanent
- Edit the Schema (JSON) directly on the left
- Review the Structure panel on the right, which lists each property with its type and tags such as primaryKey, required, and auto-generated
- To have SolutionAI help you create the Object Type, select Create with SolutionAI. SolutionAI may sometimes make suggestions that are false or inaccurate - be sure to double-check its work!
- The Console validates the schema as you edit. Resolve validation errors before selecting Create Object Type or Create & edit.
- Click Next
- On the Features step, turn on the Features that you want to enable
- Audit Trail
- Versioning
- Click Create Object Type, or click Create & edit to create the Object Type and continue editing it