Bookshelf Home | Contents | Index | Search | PDF |
Developing and Deploying Siebel eBusiness Applications > Pick Lists, Drilldowns, and MVGs > Creating Drilldowns >
Creating a Dynamic Drilldown
A dynamic drilldown takes a user to a different view depending upon certain conditions, such as the value of a field. For example, NREC wants to configure the drilldown shown in Figure 22 so that it is dynamic. The requirement is the following:
- If the opportunity sales stage is Prospecting, Qualification, or Closing, go to the Opportunity Detail - Activities view.
- Otherwise, go to the Opportunity Detail - Contacts view. Note that this is the behavior of the existing drilldown object.
Dynamic drilldowns require one or more dynamic drilldown destination object types. Dynamic drilldown destination objects define the conditions that determine when to go to a particular drilldown object. They are child objects of a drilldown object.
For a dynamic drilldown, you define each candidate view by creating a drilldown object. You express the conditions under which each drilldown object should be activated by defining one or more dynamic drilldown destinations. Dynamic drilldown destinations are defined as child objects of the default drilldown object. When all conditions expressed in the dynamic drilldown destinations are false, the parent drilldown acts as the default.
For the current example, you need to do the following:
- Define a drilldown object for the Opportunity Detail - Activities view.
- Define destination drilldown objects as children of the Original drilldown object.
NOTE: Original is the existing drill drilldown object. It displays the Opportunity Detail - Contact view. This drilldown will serve as the default when all conditions expressed in child drilldown destination objects are false.
To create a dynamic drilldown object
- In the Object Explorer, expand the Applet object type.
- In the Object List Editor, select the Opportunity List Applet (SCW).
This is the applet from which you want the user to be able to drill down.
- In the Object Explorer, select the Drilldown Object object type.
- In the Drilldown Object list, enter a new record using the following values:
To create Drilldown Destination Objects
- Select the drilldown object that you want to serve as the parent (default) of your dynamic drilldown destinations.
For the current example, select the drilldown object named Original.
The target view defined in this drilldown object will serve as the default for when all conditions in the Drilldown Destination objects are false.
- In the Object Explorer, select Dynamic Drilldown Destination object type (a child object of Drilldown Object).
- In the Dynamic Drilldown Destinations applet, enter the following records:
- Compile and test.
Navigate to the Opportunity List Applet. When you drill down on the name column it takes you to Opportunity Detail - Contacts (SCW) view or Opportunity Detail - Activities (SCW) depending on the value of the Sales Stage field.
Bookshelf Home | Contents | Index | Search | PDF |
Developing and Deploying Siebel eBusiness Applications Published: 18 April 2003 |