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:

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:

To create a dynamic drilldown object

  1. In the Object Explorer, expand the Applet object type.
  2. In the Object List Editor, select the Opportunity List Applet (SCW).
  3. This is the applet from which you want the user to be able to drill down.

  4. In the Object Explorer, select the Drilldown Object object type.
  5. In the Drilldown Object list, enter a new record using the following values:
  6. Field
    Values for First Drilldown
    Name
    Activities
    Hyperlink Field
    Name
    View
    Opportunity Detail - Activities (SCW)

To create Drilldown Destination Objects

  1. Select the drilldown object that you want to serve as the parent (default) of your dynamic drilldown destinations.
  2. 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.

  3. In the Object Explorer, select Dynamic Drilldown Destination object type (a child object of Drilldown Object).
  4. In the Dynamic Drilldown Destinations applet, enter the following records:
  5. Name
    Filed
    Value
    Destination Drilldown Object
    Sequence
    Prospecting
    Sales Stage
    01 - Prospecting
    Activities
    1
    Qualification
    Sales Stage
    02 - Qualification
    Activities
     
    2
    Closing
    Sales Stage
     
    03 - Closing
    Activities
     
    3

  6. Compile and test.
  7. 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.


 Developing and Deploying Siebel eBusiness Applications 
 Published: 18 April 2003