Add the new subtype to the ContactManager contact picker menus
Part of adding an ABContact extension is configuring the ContactManager contact picker menu so the user can choose the new entity.
Before you begin
About this task
Add the new ABInterpreter entity to the ContactManager picker menu.
Procedure
- In Guidewire Studio™ for ContactManager, navigate in the Project window to .
- Double-click NewContactPickerMenuItemSet to open this file in the PCF editor.
-
Select the submenu labeled
Vendor, which has the following id property:NewContactPickerMenuItemSet_PersonVendorMenuItem -
Copy the
Doctormenu item and paste the copy under the existingDoctormenu item. -
Select the new menu item.
The menu item turns red, indicating an error. It stays red until you set the properties in the next step.
-
Set the following properties for this new menu item:
action NewContactPopup.push(entity.ABInterpreter, parentContact) id NewContactPickerMenuItemSet_InterpreterMenuItem label displaykey.Web.NewContactMenu.Interpreter showConfirmMessage true visible requiredContactType.isAssignableFrom(entity.ABInterpreter)
