Siebel Tools Reference > Special Behavior Supported by Templates > Conditional Mappings for Applets >

Application-Specific Mappings


Application-specific controls or list column mappings specify that the corresponding control is active or not when a particular application is active. This provides the means to display or remove controls or list columns at runtime based on the application that is running. They can be repositioned for individual applications.

The application setting of the Application combo box in the Configuration Context toolbar determines the setting applied to control mappings that are subsequently added or removed. By default, the layout editor is in All Applications mode, which leaves the controls that are added or deleted during the session unmodified. A specific application name can instead be chosen from the combo box, which places the layout editor in single-application mode, with the effect that controls that are added or deleted have that effect only for the selected application.

A conditional application-specific setting for a control is implemented with the Expression property in the Applet Web Template Item object definition for the control. The Expression property functions as a search specification or query condition, limiting the display of the control to those applications that match the expression condition. The Expression property is normally blank, which means "unrestricted," that is, the control appears in all applications. A single application name in the property value, such as eSales, restricts the control to appearing only in the specified application. A negation expression, such as NOT eSales, specifies that the control appears in all applications except the negated one.

Normally, the Expression value is not entered directly. Instead, the developer sets the Application combo box in the toolbar to the application to work on, and adds and removes controls or list columns through drag-and-drop. When a user adds a control with an application selected specifies that control only appears for the selected application (the application name is automatically entered in the Expression property for the control).

NOTE:  This feature could be used to add a new button that is only required in a particular application.

If you choose a different selection in the Application combo box during an editing session, the layout window changes to reflect the set of controls that is specified for that application. Namely, the controls appearing would be those specified for All Applications, plus those specified for the current application, less those negated for this application.

Unlike the target browser specific mappings, wizards do not affect application-specific mappings. If you use wizards to create something, it always gets created for all applications.


 Siebel Tools Reference
 Published: 20 October 2003