Add Enum

Adding a new Enum involves creating a new Enum type and defining its predefined values. This process helps standardize data entries by restricting them to a specific list of valid options.

Steps to Add an Enum

  1. Navigate to the Enum Section

    • Click the Data icon in the Primary Left Panel to expand the menu.

    • Select Enums from the menu. The Secondary Left Panel will display the list of existing Enums.

  2. Initiate the Creation Process

    • Click the + icon at the top of the Enums list in the Secondary Panel.

  3. Enter Enum Details

    • A New Enum Drawer will open to enter the Enum details:

      • Name

        • This should be a unique identifier for the Enum.

        • Validation Rules:

          1. The name must be unique.

          2. The name length should be between 2 and 100 characters.

          3. The name cannot be empty.

          4. The name cannot include special characters.

          5. The name cannot include spaces.

          6. The name cannot start with a numeric character.

      • Description (optional)

        • Descriptions should be between 0 and 400 characters long, explaining the purpose of the Enum.

        • Validation Rules:

          1. The description length should be between 0 and 400 characters.

      • Enum Values

        • These values should be at least 1 character long and must not include spaces. They represent the valid options for the Enum property.

        • Validation Rules:

          1. Each value must be unique within the Enum.

          2. Each value must be between 1 and 4000 characters long.

          3. Values cannot be empty.

          4. Values cannot include spaces.

  4. Submit the Enum

    • Click the Submit button to create the Enum.

    • The new Enum will appear under the Enums list in the Secondary Left Panel.

Last updated