Create a data table
Create data tables with custom fields that make up the data table schema. For more information about editing and deleting data tables and rows, see Manage a data table.
- You cannot create duplicate table names. For example, when you want to create a new table or rename an existing table.
- Table names cannot be longer than 256 characters.
- The reference key label cannot include the following special characters: / or \.
- When you add field label information, Genesys Cloud automatically populates the API Field ID, letting you know what field to use if you add data via the API.
- After you save the data table, you cannot delete a custom field. Either create a duplicate table with the fields and rows that you want to keep, or just ignore the fields in the original data table.
- After you create a data table, you cannot change the API value of the custom fields. You can only change the labels.
- Click Admin.
- Under Architect, click Data Tables.
- Click Add . The Create Data Table window appears.
- In the Name box, type a meaningful, unique name for the data table.
- In the Division box, select the division in which you want the data table to belong.
- (Optional) In the Description box, enter any helpful information about the table.
- In the Reference Key Label box, add a descriptive name to describe the purpose or intent of the table’s primary key.
- Click Save. The Data Table view appears.
- Click Add Field under Custom Fields and select one of the following:
- Boolean
- Integer
- Decimal
String
- To configure a Boolean, or check box, field, do the following:
- In the Field Label box, type a meaningful name for the field.
- To ensure the field appears checked by default, select True by default.
- Repeat step 10 for each additional Boolean field to add.
- To configure an integer field, do the following:
- In the Field Label box, type a meaningful name for the field.
- Enter a default value.
- Repeat step 11 for each additional integer you want to add.
- To configure a number, do the following:
- In the Field Label box, type a meaningful name for the field.
- Enter a default value.
- Repeat step 12 for each additional number you want to add.
- To configure a string, do the following:
- In the Field Label box, type a meaningful name for the field.
- Type a default text value.
- Repeat step 13 for each additional text field you want to add.
- Click Save.
- Click Admin.
- Under Architect, click Data Tables.
- Click the name of the data table that you want to add a table row to. Alternatively, hover over the row of the data table that you want to add a table row to and from the icons that appear, click .
- Click Add .
- Based on the reference key and custom fields you created for the data table, add the information to the fields for the table row.
- Click Save & Close. Alternatively, to save this row and add another row, click Save & Create Another.