Configure the phone extension read-only label

About this task

If the user previously entered an extension for a phone number, in read-only mode you see a text label preceding the extension number. In the base configuration, Guidewire defines this label to be the letter x. For example, a San Francisco, California phone number with extension 123 displays in the detail view for a contact as the following number:
  • 415-555-1212 x123

Display property Java.PhoneUtil.FormatPattern.Extension (in file display.properties) defines this label. In the base configuration, Guidewire defines this property for United States English as {0} x{1}. It is possible to change the extension label by changing the property definition.

Procedure

  1. Open Guidewire Studio for PolicyCenter.
  2. In the Studio Project window, navigate to the following location:
    • configuration > config > Localizations > Resource Bundle 'display'
  3. Double-click file display.properties to open the file in the editor.
  4. Change the value of Java.PhoneUtil.FormatPattern.Extension to the desired value.
    For example, change the value to the following:
    • {0} Ext.{1}

Results

If you make the suggested change, and, if the display language is United States English, the example phone number displays as follows in read-only mode:
  • 415-555-1212 Ext.123

What to do next

See also