When configuring a dynamic drilldown, there is a Siebel limitation that the destination view on the default drilldown object be accessible. So if the else condition occurs, or if the default drilldown object is explicitly referenced by the dynamic drilldown destination, then the view used in the drilldown object must exist in the current user's responsibility.
But what if you don't want anything to happen when the else condition occurs, or when Siebel reverts to the default condition. In this case you can specify the view housing the applet you are working on, without specifying any sourcec/destination fields or BC. This way when the default condition occurs, the system drills you down to the same view, but because no source/destination is set, no additional query is executed. WHat this looks like visually in the UI is a blue hyperlink field that when clicked, nothing happens.
Let's see how this is configured. In this scenario, we will need three Drilldown Object records:
Name: Account
Hyperlink Field: Account
View: Contact List View
Name: Custom Type X
View: Custom Account Detail View X
Source Field: Account Id
Business Component: Account
Name: Custom Type Y
View: Custom Account Detail View Y
Source Field: Account Id
Business Component: Account
For the first Drilldown Object record, Account, Navigate to Dynamic Drilldown Destinations, and create the following records:
Name: Custom Type X
Field: Contact Type
Value: X
Destination Drilldown Object: Custom Type X
Name: Custom Type Y
Field: Contact Type
Value: Y
Destination Drilldown Object: Custom Type Y
This configuration will navigate the user to the view 'Custom Account Detail View Y' if the field 'Contact Type' = 'Y' and to the view 'Custom Account Detail View X' if the field 'Contact Type' = 'X', otherwise the drilldown will do nothing.
NOTE: One think to keep in mind when doing this is that since the default link is meant to be self-referential, this only makes sense if the applet is leveraged in a single view. If the applet is used in multiple views, then the default drilldown will actually navigate you away from the view you were on.
No comments:
Post a Comment