Configuring Siebel Business Applications > Configuring Lists and Pick Applets > About Lists and Pick Applets >

About Pick Applets


A pick applet is a type of applet that Siebel CRM calls if the user clicks the Select button that Siebel CRM displays next to certain fields. A pick applet contains a scrolling table that lists choices in one list column and more information in adjacent columns. Each row corresponds to a business component record in the pick business component. If the user chooses a row in the scrolling table and then clicks OK, then Siebel CRM hides the pick applet, and then enters data into the column cell and other controls and cells in the originating applet. This data includes information according to the choice the user makes in the pick applet. For more information, see Using the Pick Applet Wizard to Create a Pick Applet.

Example of a Pick Applet

Assume the user navigates to the Opportunities screen, and then clicks Select in the Account field in the Opportunity Form applet. Siebel CRM displays the Pick Account dialog box. This dialog box is a pick applet. The user then chooses an account and clicks OK. Siebel CRM hides the Pick Account dialog box and then enters data into the Account field in the Opportunity Form applet. This data includes the account that the user chose in the Pick Account dialog box. Siebel CRM might also update other fields and controls, such as the Site field. Siebel CRM enters data into the Account and Site fields only if a pick map is defined.

How Siebel CRM Constructs a Pick Applet

Figure 66 illustrates how Siebel CRM constructs a pick applet.

Figure 66. How Siebel CRM Constructs a Pick Applet

The pick applet is a child of the applet object type. It includes the following important properties:

  1. Business component. Identifies the business component.
  • Class. Set to CSSFrameList, which indicates that this is a list applet.
  • Type. Set to Pick List, which indicates that this is a pick applet. This property determines the behavior of the dialog box and button controls.
  • Title. Set to the name of the pick applet that Siebel CRM displays in the title bar.

The pick applet includes the following important child objects:

  1. List. List columns that Siebel CRM attaches to the list.
  2. List columns. Each list column displays the contents of one field in the business component.
  3. Pick Record control. Calls the PickRecord method if clicked. The PickRecord method locates the pick map child objects of the originating field. The PickRecord method uses these child objects to determine which fields to update in the originating business component. The record that the user chooses from the pick business component determines how Siebel CRM updates these fields.
  • Web templates. Defines the layout for each of the defined modes. Example layout includes the position of the list columns and controls.
  • Web template items. Maps list columns and controls to placeholders in the web template. Web template items exist for each list column and control that is defined for the applet.

Pick Applet Usage in Query Mode

If a pick map operates in query mode, then the fields that Siebel CRM copies includes the source field that the following items use:

  • The list
  • Any other list field that is part of the primary key

The source field is the business component field that the Business Component property of the list defines. Because Siebel CRM uses multiple fields for the query, it is not possible to only copy back a single field.

For example, assume the user performs a query through the list that Siebel CRM displays for the Parent Account Name field of the account list in the Account screen. Siebel CRM uses the name and location for the query because these fields are part of the U1 index of the underlying S_ORG_EXT table. The Location field is a primary key field for the Account business component and Siebel CRM includes it in the query.

You can define a pick applet so that Siebel CRM correctly enters data into the Subarea field according to the choice that the user makes, such as the Area field of the Service Request Detail Applet. You can use this technique in edit mode but not in query mode. For more information, see Options to Control How the User Creates, Edits, Queries, and Deletes CRM Data and Creating a Hierarchical List.

Configuring Siebel Business Applications Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.