Developing and Deploying Siebel eBusiness Applications > Configuring the House and Opportunity Entities > Configuring the House Detail View >

Modify Existing Product Applets to Display NREC Attributes


After the fields are added to the business component, you can display them in the user interface. Assume that NREC's design team has determined that configuring the following two applets is easier than creating new ones.

  • Product List Applet
  • Product Form Applet

These applets are already based on the Internal Product business component and meet NREC's needs reasonably well.

The following procedures cover exposing fields in the user interface at a more abstract level than was covered in the previous chapter. For detailed procedures, read Exposing Fields in the User Interface.

The following procedure covers configuring the Product List Applet.

To expose fields in the Product List Applet

  1. Navigate to the Product List Applet.
  2. Lock the project locally by choosing Tools >Lock Project, and then change the value of the Project property from Product (SSE) to NREC Configuration.
  3. Add List Column objects for each of the new fields shown in the following table. Remember that to set the Display Name field you must select a symbolic string using the pick list in the Display Name - String Reference field.

    Note that the object hierarchy is Applet > List >List Column.

    Name
    Display Name
    Field
    Show In List

    Address

    Street Address

    Address

    FALSE

    Bathrooms

    Bathrooms

    Bathrooms

    TRUE

    Bedrooms

    Bedrooms

    Bedrooms

    TRUE

    City

    City

    City

    FALSE

    Price

    Price

    Price

    TRUE

    Square Feet

    Square Feet

    Square Feet

    TRUE

    State

    State

    State

    FALSE

    ZIP Code

    ZIP Code

    ZIP Code

    FALSE

    NOTE:  The Show In List property determines whether the field is displayed by default in the list applet. Fields with a Show In List property set to FALSE appear gray in the Web Template layout editor. These fields are hidden by default in the user interface. However, users can add them to the display by choosing Columns Displayed from the applet-level menu.

  4. Change the display name of existing list columns.
    • Change the display name of the Part # list column to House ID.
    • Change the display name of the Name list column to Summary.
  5. Select the Product List Applet record, right-click it, and choose Edit Web Layout.
  6. In the Web Layout Editor, delete the following unnecessary columns for the 1: Base mode of the applet.
    • Class
    • Compensable
    • Customizable
    • Description
    • Effective End Date
    • Effective Start Date
    • Equivalent Product
    • Lead Time
    • Orderable
    • Organization
    • Product Line
    • Revision
    • Serialized
    • Service Product
    • Unit of Measure
  7. Add the fields that you defined in Step 3, including the fields to be hidden by default.

    The result should resemble the following illustration.

    Click for full size image
  8. Choose File > Save.
  9. Repeat Step 6 through Step 8 for the 2: Edit mode.

    NOTE:  You can switch applet modes using the Mode drop-down list on the Configuration Context Toolbar.

  10. Switch to the 3: Query mode of the applet.
  11. Delete the following unnecessary columns.
    • Class
    • Vendor
  12. Add the fields that you defined in Step 3, including the fields to be hidden by default. Drag the column names from the Controls/Columns window to a Field placeholder in the Web Layout Editor.
  13. Choose File > Save.
  14. Choose File > Close.

Configuring the Product Form Applet

The following procedure covers configuring the Product Form Applet.

To configure the Product Form Applet

  1. Navigate to the Product Form Applet.
  2. Lock the project locally by choosing Tools >Lock Project, and then change the value of the Project property from Product (SSE) to NREC Configuration.
  3. Add Control objects (child of Applet) for each of the new fields as shown in the following table. Remember that to set the Caption field you must select a symbolic string using the pick list in the Caption - String Reference field.
    Name
    Field
    Caption

    Address

    Address

    Street Address

    Bathrooms

    Bathrooms

    Bathrooms

    Bedrooms

    Bedrooms

    Bedrooms

    City

    City

    City

    Price

    Price

    Price

    Square Feet

    Square Feet

    Square Feet

    State

    State

    State

    ZIP Code

    ZIP Code

    ZIP Code

  4. Modify the caption property of the existing controls.
    • Change the caption of the Part # control to House ID.
    • Change the caption of the Name control to Summary.
  5. Select the Product Form Applet record, and right-click and then choose Edit Web Layout.
  6. In the Web Layout Editor delete the unnecessary controls and add the new controls.

    Use Figure 17 to determine what controls to add and delete.

  7. In the Web Layout Editor, map the EditRecord control to the appropriate placeholder.
  8. Choose File > Save, and then choose File > Close.
Developing and Deploying Siebel eBusiness Applications