You can automatically generate choice lists for small integer ranges by using the choiceListForIntegerRange configuration parameter in the cmpathservice.properties file. For small ranges, setting this parameter is the best way to show the valid choices so that users avoid entering invalid values into input fields.
For short or long integer attributes with defined minimum and maximum values, you can configure choice lists to automatically enumerate integer choices for the user to select. Specify the maximum range between the defined minimum and maximum values to generate choice lists.
You can configure, and automatically generate, the choice list for any range by changing the value for the choiceListForIntegerRange configuration parameter. If the difference between your minimum value and maximum value is less than or equal to the value of the choiceListForIntegerRange, IBM® CMIS enumerates a choice list. Negative value ranges are also supported.
To disable automatic generation of choice lists, specify a value of -1 for the choiceListForIntegerRange parameter.