Combobox Control of the Forms File

If you set the class attribute of the control tag to combobox, then you must specify the following tags in the control tag:

  • source. Describes the list values for this control. The source tag includes the following attributes:

    • type. Contains the ID of a list that the siebel_basic_mapping.xml file describes.

    • field. Contains the name of the field that Siebel CRM Desktop displays as a list value.

    • format. Defines the mask for this field output. Attributes are usually the same for all drop-down lists. It uses the following format:

      field="Value"
      format=":[:(Label):]"
      

      Although Label is a variable, you must specify it as an absolute value, as described here.

  • field. A field of an object that stores a value that the user chooses in a list.

Example Code of the Combobox Control

The following code illustrates usage of the combobox control:

<control id="0x20105" class="combobox">
  <source type="ContactLeadSourcePicklist" field="Value" format=":[:(Label):]"/>
  <field>LeadSource</field>
</control>