Add the new field to the ContactMapper class in ContactManager

To be able to send a new ABContact field to a Guidewire core application and receive updates for the field, you must add it to the ContactMappper class.

Before you begin

Complete the step Add a field to the ABDoctor subtype in ContactManager.

About this task

For more information on the ContactMapper class, see ContactMapper class.

Procedure

  1. In Guidewire Studio™ for ContactManager, click Ctrl+N and enter ContactMapper, and then double-click the ab1000 version of the class in the search results to open it in the Gosu editor.
  2. Press Ctrl+F and find the following line of code:
    fieldMapping(ABDoctor#MedicalLicense),
  3. Add the following code for the new field after the line for the MedicalLicense field:

    fieldMapping(ABDoctor#BoardCertified_Ext),

  4. If necessary, stop ContactManager as follows:
    1. Open a command prompt in the ContactManager installation folder and then enter the following command:
      gwb stopServer
    2. Wait to restart the ContactManager application and pick up the data model changes until after making the changes in the next step.

What to do next

Add the BoardCertified field to the ContactManager user interface