Creating a static filter using includes

Suppose that you want to create a filtered typelist that displays zone codes that are in use only in Canada and not any other country. One way to create the filter is to use an Includes filter on the ZoneType typelist.

In this example, you want the typelist to display only the following:

  • fsa
  • province

The following table shows the typecodes in the ZoneType typelist:

ZoneType typecode

Associated typelist

Associated typecode

Include in filter

city

Country

CA (Canada)

US (United Stated)

county

Country

US

fsa

Country

CA

postalcode

Country

AU

CA

DE

province

Country

CA

state

Country

AU

DE

US

zip

Country

US

To create an includes filter

  1. Open the typelist that you want to filter in the Guidewire Studio™ Typelists editor.
  2. In the selector next to Add , click Include Into Filter.
  3. In the Typecodes list, select fsa and province.
  4. Click Next.
  5. On the New Filter tab, in the Name and Description text boxes, type CAOnlyFilter.
  6. Click Finish.

Result of following the preceding steps.