Siebel Tools Reference > Special-Purpose Applets and Controls >

Dynamic Toggle Applets


Dynamic toggle applets allow you to display data differently for different locales in a single database. For example, you are deploying an English application in two locales, the United States and Canada, and the expense report applet needs to display mileage in either miles or kilometers, depending on the locale of the user. Dynamic toggle applets can be configured to display miles for U.S. users and kilometers for Canadian users.

Basically, you create one Applet Toggle object definition for each locale-specific version of the applet. The parent applet (of these applet toggles) is the default—the one that appears when the test condition (the locale parameter, in this case) has no match.

To configure an Applet Toggle object

  1. Create an additional column in the business component used by the set of applets (S_ORG_EXT for Account, for example) to hold the locale parameter.
  2. Create a new field in the business component to map the new column.
  3. Create a locale-specific version of the applet for each locale requiring separate data entry capabilities.
  4. Include the new Locale field (as a picklist) in each of the applets so there is a way to collect this data for each record. Also, create a default version of the applet to use if no locale is specified or the specified locale does not have its own applet.

  5. Create an Applet Toggle child object definition (of the one designated as the default) for each locale-specific applet.
  6. Use the Applet, Auto Toggle Field, and Auto Toggle Value properties in each applet toggle to specify the applet to navigate to, the name of the locale field, and the name of the locale that causes this applet to appear when this locale name appears in the data.

    See MLOV Configuration and Coding Guidelines for more information about configuring fields for applet toggles.

  7. Compile, test, and deploy.

For more information, see Applet Toggle Behavior Within a View.


 Siebel Tools Reference, Version 7.5, Rev. A 
 Published: 18 April 2003