Add the new subtype to the ContactMapper class in ClaimCenter

To be able to send a new Contact subtype to ContactManager and receive updates for it, you must add it to the ContactMappper class.

Before you begin

Complete Add a new Contact subtype to ClaimCenter.

About this task

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

Procedure

  1. In Guidewire Studio™ for ClaimCenter, press 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 search for the following line of code:
    fieldMapping(MedicalCareOrg#MedicalOrgSpecialty),
  3. After the line for MedicalCareOrg, add the following code for the new entity:

    fieldMapping(Interpreter#InterpreterSpecialty),

    Note: You do not have to put this fieldMapping method call in this exact location. It must be in the method override property get Mappings() : Set<CCPropertyMapping>. Additionally, it is useful to group it with the other method calls after the comment //Other Contact subtypes.

What to do next

Map the new subtype names in ClaimCenter