Procedure
-
Using Guidewire Studio for ClaimCenter, in the Project window, navigate to .
-
Click ContactSearchCriteria.etx to open the entity extension in an editor.
-
Right-click nonPersistentEntity (extension) at the top of the Element hierarchy and click Add new, and then choose typekey from the drop-down list.
-
Enter the following values:
| Name |
Value |
| name |
ServiceState |
| typelist |
State |
| desc |
State where contact provides services |
-
Add an entry for ServiceState to the Gosu class ContactSearchMapper so you can use this field when you search for a contact.
-
In Guidewire Studio for ClaimCenter, press
Ctrl+N and enter
ContactSearchMapper, and then in the search
results click
ContactSearchMapper(gw.plugin.contact.ab1000) to
open this class in the editor.
-
Press Ctrl+F and enter convertToABContactAPISearchCriteria to find this method in the class.
-
Insert a new line after the following line of code:
searchCriteriaInfo.PreferredVendors = searchCriteria.PreferredVendors
-
Enter the following code for ServiceState:
searchCriteriaInfo.ServiceState = searchCriteria.ServiceState.Code