Creating a static filter using excludes
Suppose that you want to create a filtered
typelist that displays all of the zone codes except those that are in
use in Canada. You want to display the complete list of typecodes in
the ZoneType typelist
except for the following:
- city
- 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 excludes filter
- Open the typelist that you want to filter in the Guidewire Studio™ Typelists editor.
- In the selector next to Add
,
click Exclude From Filter. - In the Typecodes list, select the typecodes that you want to exclude. For example, select city and fsa.
- Click Next.
- On the New Filter tab, in the Name and Description text boxes, type ExcludesCanada.
- Set the Include
all typecodes check box
true. This ensures that you start with a full set of typecodes. - Click Finish.

