Register the new line of business

About this task

Every new line of business you add to PolicyCenter must be registered by extending the InstalledPolicyLine typelist and adding the package name, code identifier, and subtype of the policy line. Various parts of the product configuration use one or another of these identifiers. This example shows how to register the Golf Cart line.

Procedure

  1. Enable Filename Suffix in Studio by navigating to File > Settings > Guidewire Studio > Metadata Editors. Select Show filename suffix on new extension dialog.
  2. Use the Studio Project window to navigate to configuration > config > Extensions. Right-click the Typelist folder, and then select New > Typelist Extension.
  3. In the Typelist Extension dialog box, specify the following parameters:

    Property

    Value

    Typelist

    InstalledPolicyLine

    Filename Suffix

    GO

    Studio creates a new typelist extension named InstalledPolicyLine.GO.ttx.
  4. In InstalledPolicyLine.GO.ttx, add a new typecode element to the typelist extension. Specify the following properties:

    Property

    Value

    code

    For the typecode, enter the package name in uppercase, for example, GO. This parameter corresponds to the package name that you specify later (in lower case), as explained in Add policy line package and configuration class.

    name

    For the typecode name, enter the code identifier of the policy line pattern, for example, GolfCartLine. The code identifier corresponds to the Code of the policy line that you specify later in Product Designer, as explained in Create the policy line. This value cannot contain blanks or special characters and must be unique within a PolicyCenter instance.

    desc

    Policy line subtype. For example, GolfCartLine. This parameter corresponds to the Entity parameter you specify later, as explained in Create coverable entities.

    Note: The PolicyCenter server checks its policy line entities against the parameters in the InstalledPolicyLine typelist and refuses to start if it finds a policy line without a corresponding typecode.