This article shows how to create a list of values, that can be used to restrict values for attributes.
Add a list of values
- In the Model Design tree view, right-click on the Lists of Values node and select Add List of Values.
![](https://www.semarchy.com/wp-content/uploads/2019/02/create-a-list-of-values-01-create-list-of-values.jpg)
- When prompted enter a Name, Label, and Length (max length of the values) for your list of values and click Finish.
![](https://www.semarchy.com/wp-content/uploads/2019/02/create-a-list-of-values-02-create-list-of-values-dialog.jpg)
- In the page displayed, click on Add Value on the button bar of the Value section.
![](https://static.t-cdn.net/5ef1e3639f2bb04fc7204631/posts/5f0ef6934959cc47d0e0432d/5f0ef6934959cc47d0e0432d_55562.png)
- When prompted enter a Code, Image, Label, and Description and click on Finish.
![](https://www.semarchy.com/wp-content/uploads/2019/02/create-a-list-of-values-04-create-values-dialog.jpg)
- Repeat this operation for each value and save your model.
Note : you can also import values from an Excel spreadsheet. To do that, proceed as follows:
- Click on Import Values on the button bar of the Value section:
![](https://static.t-cdn.net/5ef1e3639f2bb04fc7204631/posts/5f0ef858ad2fa953a7b85224/5f0ef858ad2fa953a7b85224_86821.png)
- You will then be prompted to select a file. The imported file must contain 4 columns containing the Code, Label, Image URL and Description for each value.
- Once file is selected, click on Finish to finalize the import.
![](https://static.t-cdn.net/5ef1e3639f2bb04fc7204631/posts/5f0ef98db7fc187078d4b4dc/5f0ef98db7fc187078d4b4dc_76401.png)
Your list of values can now be used as an attribute type when creating attributes.