Configuring Autocomplete Lists and Primary Selectors for MVGs

This topic describes how to configure Siebel CRM Desktop to display autocomplete lists and primary selectors for MVGs. You can use the autocomplete_list control with an MVG control. The autocomplete_list control is similar to the autocomplete control except it includes more functionality. You can use the autocomplete_list control instead of the mvg_primary_selector2 control. For more information about these controls, see Overview of Customizing Multi-Value Groups.

To configure autocomplete lists and primary selectors for MVGs

  1. Use an XML editor to open the forms_xx.xml file.

  2. Add the following code. This code adds an autocomplete list on the Contact object for the Account field:

    :<autocomplete_list id="account_mvg" tab_order="9">
      <items format=":[:{AccountId@Account/(:[:(Name):])}:]">
        <source type="auto" name="AccountJointContact"></source>
        <restriction>
          <binary field="ContactId" condition="eq">
            <value type="variable">id()</value>
          </binary>
          <binary field="AccountStatus" condition="ne">
            <value type="string">deleted</value>
          </binary>
        </restriction>
      </items>
      <suggestion format=":[:(Name):]">
        <source type="auto" name="Account"></source>
      </suggestion>
    </autocomplete_list>
    

    For more information about this code, see Code That Renders an Autocomplete List