Specifying size ranges for data types
You control the size range of a data type in the user interface by modifying the value in the field-size-config.xml file. The size of a field in the user interface depends on a setting for each data type and the length of the column in the database. This dependency creates a uniform appearance in the UI when fields of different lengths are beside or on top of each other in the same section.
About this task
Field sizes are defined in the <root>\applications\maximo\properties\field-size-config.xml.
For example, for an ALN field:
<maxtype name="aln">
<range below="2" size="2"/>
<range upper="30" size="10"/>
<range upper="31" size="40"/>
</maxtype>
In this example if the ALN
value is defined with a length of 1 or 2, the field displays 2 characters.
If the value is defined from 3 to 30, the field displays 10 characters.
If the field is defined with a size of 31 or greater, the field displays
40 characters.Procedure
- Open the field-size-config.xml file in a text editor.
- Search for the data type and change the size range that is specified for the field.
- Save the file.
- Rebuild and redeploy the .EAR files on the application server for your changes to take effect.