Add a field to the ABDoctor subtype in ContactManager
In this example of adding a field to a contact subtype, you extend the
ABDoctor entity in ContactManager.
Before you begin
Procedure
-
Start Guidewire Studio™ for ContactManager.
At a command prompt, navigate to the ContactManager installation folder and enter:
gwb studio - In the Project window, navigate to .
- Double-click ABDoctor.eti to open it in the Entity editor.
- Click subtype at the top of the Element hierarchy.
-
Click the drop-down list next to
and choose column.
-
Enter the following values for the new column:
Name Value name BoardCertified_Ext type bit nullok true desc Is the doctor Board certified in the specialty? default false -
Regenerate the Data Dictionary to ensure that your changes are
correct.
At a command prompt, navigate to the ContactManager installation folder and enter:
gwb genDataDictionary
What to do next
Add the new field to the ContactMapper class in ContactManager
