Working with attribute and element overrides
It is possible to override certain attribute values (fields) and elements on entity types that Guidewire defines in the base configuration. To make these changes, you add or edit overrides in extension files in the folder. You do not have write access to entity definition files in the folder.
To override attributes or other elements:
- If an entity extension file (.etx) already exists in the Extensions folder, add one of the specified override elements to the existing file.
- If an entity extension file (.etx) does not already exist in the Extensions folder, you create one and add an override element to that file.
- If an entity definition file (.eti) exists in the Extensions folder, you modify the original field definition instead of using an override element.
Add override elements only to files in the folder. Do not attempt to add an override element to a file in any other folder.
The following table lists the attributes that you can override in a file in the folder:
|
Override type |
Attributes or elements that you can override |
More information |
|---|---|---|
|
|
|
|
|
|
|
You can override these attributes directly by using column-override. However, to modify data type attributes such as size, logicalSize, and encryption, add a columnParam subelement under a column-override. Then, set the data type attributes on the columnParam. See Overriding data type attributes and Using <column-override> to modify field validation for examples of this configuration. Note: You can override the type attribute only to a data type
that has the same value type as the previous data type. For example, if the value of
the type attribute is
shorttext, the value
type is java.lang.String. The new value of the
type attribute must also have a
java.lang.String value type. For example,
longtext is an acceptable data type, but
BigDecimal is not. |
|
|
|
|
|
|
|
|
|
keyfilters-override |
keyfilter | |
|
|
|
|
|
|
keyfilters-override |
See also
- Changing the length of a text field for overriding the size data type attribute or the logicalSize data type attribute
- <columnParam> subelement for more information on size, logicalSize, and other data type attributes.
- The data types configuration file for global configuration of data type attributes
- The Length attribute for global configuration of the character length of a column
