Add the new subtype to the Address Book input
sets
Enable a ClaimCenter user to select an Interpreter contact and see the Interpreter Specialty field.
Before you begin
About this task
In this step you update the input sets used by the ClaimCenter Address Book
detail view.
Procedure
- In Guidewire Studio™ for ClaimCenter, navigate in the Project window to .
-
Right-click
AddressBookDoctorAdditionalInfoInputSet.Doctorand click Copy. - Right-click again and choose Paste.
-
In the Copy dialog box,
enter the new name
AddressBookInterpreterAdditionalInfoInputSet.Interpreter.pcf,
and then click OK.
The new widget opens in the editor.
-
Click the name of the input set window,
AddressBookInterpreterAdditionalInfoInputSet, to open the Properties tab. -
Set the value of the
modeproperty to Interpreter. -
In the editor, select the
Medical Licenseinput widget and set the following properties:editable true id InterpreterSpecialty label displaykey.Web.ContactDetail.Interpreter.InterpreterSpecialty required false value (personVendor as Interpreter).InterpreterSpecialty -
Select the
Medical Specialtywidget and delete it. -
If it exists, select the
Board Certifiedwidget and delete it. - In the Project window, navigate to .
- Open AddressBookContactBasicsDV.Person in the editor and click its name at the top to open the Properties tab.
-
For the
modeproperty, add theInterpretermode to the list:Person|PersonVendor|Adjudicator|UserContact|Doctor|Attorney|Interpreter - Click OK.
-
Open
AddressBookAdditionalInfoInputSet.PersonVendorin the editor and click its name at the top to open the Properties tab. -
For the
modeproperty, add theInterpretermode to the list:PersonVendor|Attorney|Doctor|Interpreter -
Drag a new
InputSetRefwidget from the Toolbox and drop it below the secondInputSetRefwidget, the one containing the input setAddressBookAttorneyAdditionalInfoInputSet. -
Click the new
InputSetRefwidget and set the following properties:def AddressBookInterpreterAdditionalInfoInputSet(contact as PersonVendor) id AddressBookInterpreterAdditionalInfoInputSet mode contact typeis Interpreter ? "Interpreter" : null The mode statement enables the
Interpreter Specialtyfield to display in theAdditional Infosection when the contact type isInterpreter.
