×
Menu
Index

Enum

 
Enumerated (or enum) elements work similarly to reference elements, but rather than pointing to data in another node element, choices are restricted to a specific list of values. Enums can be created for Number, Text, Date, and DateTime element types.
 
To create an enum, check the Is Enum? box (located below the Element Type field). The Enum Configuration tab is now displayed in the lower half of the Content Pane. Select this tab, then click the Add Enum button from the Ribbon Bar. Each time you click the button, a new row is created within the tab.
 
Enter the available options in the Value column, one per row. The values are saved back to the database as soon as you click out of the cell. You can select an enum to appear as the default for new records by checking the Default box next to that enum. Click the Delete Enum button to remove an enum value. NOTE: If a default enum has been selected, you will need to uncheck it before deleting any enum.
 
Enums, like references, can be one-to-one or one-to-many. Set the appropriate value using the Is One to Many [1..N]? checkbox.
 
In Collector the enum element cell looks similar to a reference element, but it only displays the values set in Designer. One way to see the difference is to enable the Show References button in Collector. Enum drop-down lists do not append a node name like reference items do.
 
© 2019 Exostrategies, Inc.