An enumeration is a custom-defined, static listing of all the items in a collection.
The following types of fields can be associated to an enumeration:
- Text
- Displays a simple drop down with a static list.
- Only one value can be selected.
- The display order in the drop down matches the order defined in the enumeration file.
- Integer
- Displays a simple drop down with a static list.
- Only one value can be selected.
- The display order in the drop down matches the order defined in the enumeration file.
- In the enumeration file, the Value column must only contain integers/whole numbers.
- Text Multiple Select
- Displays a chooser with an option to search.
- Multiple values can be selected.
- The display order in the chooser is alphabetical.
Reminder, Text Multiple Select type fields are only available in Sourcing.
Enumeration File Formats
You can export and import the enumeration files in XLS or CSV format:
- XLS – Recommended format
- Microsoft Excel enumeration files have a secondary tab called Translations that you use to translate values for other locales. This tab only appears in XLS format and not in comma-separated values (CSV) format.
- Keep in mind, Microsoft Excel may strip leading zeros.
- Can handle up to 65,000 rows.
- CSV – Use when XLS format does not support requirements
- Uploading a CSV file will replace all current enumerations with the contents of the file. So, do not use this format unless you are including all existing enumeration data in the CSV file.
- Since translations are not included, uploading a CSV file will wipe out any existing picklist translations.
- Can handle over 65,000 rows.
Both file formats contain the following columns:
- Enumeration – the name of the enumeration to which the information in that row applies
- Value – a string or numeric value
- Display Value – a string or resource key that determines how the value is displayed in the user interface
Example (with no translations):
- XLS Format - Enumerations Tab
Enumeration Display Value Value cus_ContractType Master Services Agreement Master Services Agreement cus_ContractType Non Disclosure Agreement Non Disclosure Agreement cus_ContractType Statement Of Work Statement Of Work CSV Format
UTF8
"cus_ContractType","Master Services Agreement","Master Services Agreement"
"cus_ContractType","Non Disclosure Agreement","Non Disclosure Agreement"
"cus_ContractType","Statement Of Work","Statement Of Work"