Developing and Deploying Siebel Business 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)
- Create a symbolic string for the term "Price Range". Use the procedure To create a symbolic string.
- Navigate to the Opportunity List Applet (SCW).
- Add the List Columns as shown in the following table.
|
|
|
|
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.
- Reselect the Opportunity List Applet (SCW) applet.
- Open the Web Layout Editor. Delete all unnecessary list columns that are not shown in Figure 20. The columns to delete include:
- Map the list columns defined in Step 3 to complete the layout as shown in Figure 20.
When done, the Web layout resembles the following illustration.
- Repeat Step 5 and Step 6 for each applet mode.
To expose new fields on the Opportunity Form Applet (SCW)
- Navigate to the Opportunity Form Applet (SCW).
- Add the Controls as shown in the following table.
|
|
|
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 |
- Reselect the Opportunity Form Applet (SCW) applet.
- 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:
- Map the controls you created in Step 2 to complete the layout as shown in Figure 20.
When done, the Web layout resembles the following illustration.
- Repeat Step 4 and Step 5 for each active applet mode.
|