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 configuration > config > Extensions > Entity folder. You do not have write access to entity definition files in the configuration > config > Metadata > Entity 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 configuration > config > Extensions > Entity 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 Extensions > Entity folder:

Override type

Attributes or elements that you can override

More information

array-override

desc

triggersValidation

column-override

createhistogram

default

desc

nullok

supportsLinguisticSearch

type

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.

edgeForeignKey-override

desc

extractable

overlapTable

foreignkey-override

desc

importableagainstexistingobject

nullok

triggersValidation

keyfilters-override

keyfilter

onetoone-override

desc

triggersValidation

typekey-override

default

desc

nullok

typefilter

keyfilters-override

See also