Add a new Contact subtype to ClaimCenter
Part of adding a vendor contact subtype is extending the Contact entity in ClaimCenter.
Before you begin
- Follow the instructions for installing ContactManager in Installing ContactManager.
- You must have integrated ContactManager with ClaimCenter as described in Integrating ContactManager with Guidewire core applications.
- After installing ContactManager, for testing purposes, it would be helpful to import sample data as described in Load sample data for ContactManager.
About this task
This step is the first in the example Adding a vendor contact subtype. In this step, you add a new Interpreter entity in ClaimCenter.
Procedure
-
Start Guidewire Studio™ for ClaimCenter.
At a command prompt, navigate to the ClaimCenter installation folder and enter:
gwb studio - In the Project window, navigate to .
- Right-click Entity and choose .
-
In the Entity field, enter the following name:
Interpreter
- Click the Entity Type drop-down list and choose subtype.
-
In the Desc field, enter the following description:
Interpreter
-
Click the Supertype search button
and then choose PersonVendor from the drop-down list.
- Click OK.
- In the Entity editor for the new entity, click subtype at the top of the Element hierarchy.
- For displayName, enter Interpreter.
-
Click the drop-down list next to
and choose column.
-
Enter the following values for the new column:
Name Value name InterpreterSpecialty type varchar nullok false desc Interpreter's language specialties -
Click the drop-down list next to
and choose columnParam.
-
Enter the following values to specify the size of this
varcharcolumn:Name Value name size value 30 -
Regenerate the Data Dictionary.
At a command prompt, navigate to the ClaimCenter installation folder and enter:
gwb genDataDictionary - Verify in the Data Dictionary that the data model extension is correct.
- Close Guidewire Studio for ClaimCenter and then restart it to enable Studio to pick up the data model change.
What to do next
Add the new subtype to the ContactMapper class in ClaimCenter
