Set default values for interface settings

The default values are used unless the user changes them.

About this task

If a default value is not explicitly set for a Boolean setting, then its default value is false.

Procedure

  1. In Guidewire Studio, navigate to configuration > webresources, and then open the file Client_Properties.json.
  2. Locate the structure named pref_panel_defaults.
  3. Within this structure, place a line in the following format:
    "property": value,
    property
    The property name for the particular interface setting.
    value
    The default value to use for that setting.
    Note: Make sure to include a comma at the end of each line except for the last line in the structure.
    The following is an example of setting default values for several settings:
    "pref_panel_defaults": {
      "theme": "gw-theme--green-white-web",
      "fontSize": "default",
      "globalSpacingModifier": "default"
    },

What to do next

See also