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
About this task
For more information on the ContactMapper class, see ContactMapper class.
Procedure
-
In Guidewire Studio™ for ContactManager, click 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 find the following line of code:
fieldMapping(ABDoctor#MedicalLicense), -
Add the following code for the new field after the line for the
MedicalLicensefield:fieldMapping(ABDoctor#BoardCertified_Ext),
-
If necessary, stop ContactManager as follows:
-
Open a command prompt in the ContactManager installation folder and then enter the following
command:
gwb stopServer - Wait to restart the ContactManager application and pick up the data model changes until after making the changes in the next step.
-
Open a command prompt in the ContactManager installation folder and then enter the following
command:
What to do next
Add the BoardCertified field to the ContactManager user interface
