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

Modifying Applets to Display Additional Attributes


Now that the fields are added to the business component, the next step is to expose them in the user interface. NREC's design is to modify the default applets that appear on the Opportunity Detail View to include the new fields. These two applets are:

  • Opportunity List Applet (SCW)
  • Opportunity Form Applet (SCW)

An alternative is to create new applets. However, modifying existing objects is typically a preferable method because it requires less configuration work and causes fewer problems with future upgrades.

The following procedures are the high-level steps required for modifying the existing Opportunity list and form applets to display new fields added to the Opportunity business component. As discussed in the previous chapter, the procedures differ slightly for form and list applets. Read Exposing Fields in the User Interface.

To expose the new fields on the Opportunity List Applet (SCW)

  1. Create a symbolic string for the term "Price Range". Use the procedure To create a symbolic string.
  2. Navigate to the Opportunity List Applet (SCW).
  3. Add the List Columns as shown in the following table.
    Name
    Field
    Display Name
    Show in List

    Agent

    Agent

    Agent

    TRUE

    Contact

    Key Contact Id

    Contact

    TRUE

    Number of Bathrooms

    Number of Bathrooms

    Bathrooms

    TRUE

    Number of Bedrooms

    Number of Bedrooms

    Bedrooms

    TRUE

    Price Range

    Price Range

    Price Range

    TRUE

    Square Feet

    Square Feet

    SQFT

    TRUE

    The list columns are now available to map to applet Web templates. The Show in List property determines whether the field appears by default in the list applet. If the Show in List property is FALSE or null, users can add it to the list applet at run time by choosing Display Columns from the applet-level menu.

  4. Reselect the Opportunity List Applet (SCW) applet.
  5. Open the Web Layout Editor. Delete all unnecessary list columns that are not shown in Figure 20. The columns to delete include:
    • Revenue
    • Close Date
    • Lead Quality
    • Probability %
    • Expected Value
    • Status
    • Reason
    • Sales Method
    • Created
    • Description
    • Site
    • Address
    • City
    • State
    • Zip Code
    • Country
    • Sales Team
    • Organization
    • Split Revenue

      NOTE:  To select multiple controls, press the Ctrl key while selecting.

  6. Map the list columns defined in Step 3 to complete the layout as shown in Figure 20.

    When done, the Web layout should resemble the following illustration.

    Click for full size image
  7. Repeat Step 5 and Step 6 for each applet mode.

To expose new fields on the Opportunity Form Applet (SCW)

  1. Navigate to the Opportunity Form Applet (SCW).
  2. Add the Controls as shown in the following table.
    Name
    Caption
    Field

    Agent

    Agent

    Agent

    Contact

    Contact

    Key Contact Id

    Number of Bathrooms

    Bathrooms

    Number of Bathrooms

    Number of Bedrooms

    Bedrooms

    Number of Bedrooms

    Price Range

    Price Range

    Price Range

    Square Feet

    SQFT

    Square Feet

  3. Reselect the Opportunity Form Applet (SCW) applet.
  4. Open the Web Layout Editor and select an active mode. Delete all unnecessary controls that are not shown in Figure 20. The controls to delete include:
    • Description
    • Site
    • Probability %
    • Close
    • Organization
    • Revenue
    • Expected Value
    • Committed
    • Sales Team

      NOTE:  To select multiple controls, press the Ctrl key while selecting.

  5. Map the controls you created in Step 2 to complete the layout as shown in Figure 20.

    When done, the Web layout should resemble the following illustration.

Click for full size image
  1. Repeat Step 4 and Step 5 for each active applet mode.
Developing and Deploying Siebel eBusiness Applications