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
About this task
For more information on the ContactMappper class, see ContactMapper class.
Procedure
-
In Guidewire Studio™ for ClaimCenter, press Ctrl+N and
enter ContactMapper, and then double-click the
ab1000version of the class in the search results to open it in the Gosu editor. -
Press Ctrl+F and search for the following line of
code:
fieldMapping(MedicalCareOrg#MedicalOrgSpecialty), -
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.
