When creating properties, using a list instead of a free text field offers several advantages:
- Consistency: Lists ensure that users select from predefined options, reducing errors and inconsistencies.
- Data Integrity: With lists, data can be standardized, making it easier to analyze and generate reports.
- Ease of Use: A dropdown menu or selectable list is quicker and more user-friendly, saving time for users.
- Scalability: Lists, particularly those with multiple levels, can represent complex hierarchical data in a clear and organized way.
By using a 2-level list, you can create structured relationships between options, such as categories and subcategories.
Steps to Create a Property with a 2-Level List
1. Create the Main List (Level 1) as described in How to create a property list and How to create a property list. Enter the primary options for your list (e.g., countries):
2. Create the Sub-List (Level 2):
-
-
Create a second property list. For example, a list of cities.
-
Activate the sub-list toggle [1] in the property settings.
-
Link the sub-list [2] to the appropriate main list property by selecting the corresponding option in the sub-list configuration panel.
-
-
Define Sub-List Values:
Add values to the sub-list by pairing them with the main list items, separating them with a comma. For example:
-
-
- France, Paris
- France, Lille
- France, Marseille
- Thailand, Bangkok
- United States, New York
- United States, Huston
-
4. Add the new 2-level list property to your processes where it is required.