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

Complete Add the BoardCertified field to the claim contacts user interface.

Procedure

  1. Start Guidewire Studio™ for ContactManager.

    At a command prompt, navigate to the ContactManager installation folder and enter:

    gwb studio
  2. In the Project window, navigate to configuration > config > Extensions > Entity.
  3. Double-click ABDoctor.eti to open it in the Entity editor.
  4. Click subtype at the top of the Element hierarchy.
  5. Click the drop-down list next to and choose column.
  6. 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
  7. 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