Skip to Content
Docs

Creating an Object Type

Here is a quick guide for creating your first Object Type in Contextual.

  1. Access your Contextual Console
  2. In the left sidebar, under Build, select Object Types
  3. Select New Object Type
  4. 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
  5. Click Next
  6. 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.
  7. Click Next
  8. On the Features step, turn on the Features that you want to enable
    1. Audit Trail
    2. Versioning
  9. Click Create Object Type, or click Create & edit to create the Object Type and continue editing it