The typelist editor
If you modify an existing typelist, ensure that you thoroughly understand which other typelists depend on the typecode values in the typelist being modified. You must also update any related typelists.
For example, any modifications that you make to the
AdditionalInsuredType typelist can potentially affect the
PolicyLine typelist that the AdditionalInsuredType
typelist filters. Therefore, you must update all of the related typelists.
After you open a typelist, Studio opens a typelist editor showing configuration options for that typelist.
The Studio typelist editor interface
The right side of the Typelist editor contains the following fields:
- Description
- Table name
- Final
The Description field
PolicyCenter transfers the value that you enter in the dialog for the type list name to the Description field in the typelist editor. It is possible to edit this field.
Guidewire recommends that you add an _Ext suffix to the value that you enter for the type list name. This ensures that the name of any typelist that you create does not conflict with a Guidewire typelist implemented in a future database upgrade.
The Table Name field
By default, Guidewire uses pctl_typelist-name as the
name of the typelist table. However, if you want a different table name,
you can override the default value by specifying a value in the Table
name field for that typelist in Studio. If you override the
default value, the table name becomes pctl_table-name.
Guidewire restricts the typelist table name to ASCII letters, digits, and underscore. Guidewire also places limits on the length of the name. However, if you choose, you can override the name of the typelist, which, in turn, overrides the table name stored in the database.
Therefore:
- If you do not provide a value for the Table name field, then PolicyCenter uses the Name value and limits the table name to a maximum of 25 characters.
- If you do provide a value for the Table name field, then this overrides the value that you set in the Name field. However, the maximum table name length is still 25 characters.
Field |
Value entered in... |
Maximum length |
Database table name |
|---|---|---|---|
Name |
New Typelist dialog |
25 characters |
|
Table name |
Typelists editor |
25 characters |
|
The Final field
A final
typelist is a typelist to which you cannot add additional typecodes.
You can, however, override the name,
description, priority, and retired attributes. All custom
typelists that you create are non-final.
Search for an existing typelist definition
Procedure
- In Guidewire Studio, press Ctrl+Shift+N.
-
In the Enter file
name dialog, start typing the name of the typelist that you want to find.
Studio displays a list of matching entries that begin with the character string that you type.
-
In the list, click the name of the typelist that you want to
view.
Pay attention to the typelist file extension. For example, if you type
AccidentPremises, Studio displays a list that includes all components whose name contains that text. Typelists will have a file extension of .tti, .tix, or .ttx. Look for the typelist that ends with the appropriate extension.
Results
Studio opens the file in the appropriate editor.
Create a new typelist definition
Procedure
- In the Project tools window, navigate to .
- Right-click on Typelist, and then click .
- Enter the typelist name in the New Typelist dialog. PolicyCenter uses this name to uniquely identify this typelist in the data model.
- Enter a description. Use the Description field to create a longer text description to identify how PolicyCenter uses this typelist. This text appears in places like the Data Dictionary.
-
Verify that the (Boolean) Final
field is set to false.
Studio automatically sets this field to false for any typelist that you
create. You have no control over this setting. This field has the following
meanings:
True
You cannot add or delete typecodes from the typelist. You can only override certain attribute fields.
False
You can modify or delete typecodes from this typelist, except for typecodes designated as internal, which you cannot delete. (You cannot remove internal typecodes, but you can modify their
name,description, and other fields.)
Extend an existing typelist definition
About this task
You can extend non-internal typelists that are in the following Guidewire Studio location: .
Procedure
- In Guidewire Studio, in the Project tool window, navigate to , and then expand Typelist.
-
Right-click the non-internal typelist that you want to extend,
and then click .
The file that you want to extend must be non-internal and have either a .tti or .tix file extension.
- In the Typelist Extension dialog, Studio displays the name and location of the extension file it will create. Click OK.
Results
Studio displays the name of your new file in the folder and stores the new file at the following location:
configuration/config/extensions/typelistStudio then opens your new file in the appropriate editor.
