Add the BoardCertified field to the ContactManager user interface

Enable ContactManager users to use the new BoardCertified field when they create and edit ABDoctor contacts.

Before you begin

Complete Add the new field to the ContactMapper class in ContactManager.

About this task

You add the new field to the input set for the ABDoctor subtype for use in the ContactBasicsDV.ABPerson detail view.

Procedure

  1. Navigate in the Project window to configuration > config > Localizations > Resource Bundle 'display' and double-click display.properties to open this file in the editor.
  2. Click Ctrl+F and find the following entry in the file:
    Web.ContactDetail.Doctor.MedicalLicense
  3. Insert a line after that entry and then enter the following key and value: Web.ContactDetail.Doctor.BoardCertified = Board Certified
  4. In the Project window, navigate to configuration > config > Page Configuration > pcf > contacts > basics.
  5. Double-click ABPersonVendorSpecialtyInputSet.ABDoctor to open it in the editor.
  6. Select the Input widget Medical Specialty and copy it, and then paste the copy below the Medical Specialty widget.
  7. Right-click the new field and choose Change element type.
  8. Click Boolean Radio Button Input.
  9. Click the new BooleanRadioInput widget and set the following properties:
    editable true
    id DoctorBoardCertified
    label displaykey.Web.ContactDetail.Doctor.BoardCertified
    required false
    value (person as ABDoctor).BoardCertified_Ext

What to do next

Restart both applications and test the new field