Siebel CRM Desktop for Microsoft Outlook Administration Guide > Customizing Multi-Value Groups >

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

Configuring Siebel CRM Desktop to Use Autocomplete Lists or Primary Selectors in MVGs

You can configure Siebel CRM Desktop to use autocomplete lists or primary selectors in MVGs.

To configure CRM Desktop to use autocomplete lists or primary selectors in MVGs

  1. Use a JavaScript editor to open the forms.js file.
  2. Locate the register_mvg_dialog function.

    For more information about this function, see Registering MVG Controls.

  3. Set the use_autocomplete_list parameter to one of the following values:
    • true. Use autocomplete list.
    • false. Use mvg primary selector.

      For example:

    register_mvg_dialog(ctx, "Position", "sales_team_mvg", "btn_sales_team_mvg", { "use_autocomplete_list": false });

    For a detailed example that uses the register_mvg_dialog function, see Controlling the Search in Siebel Button That Does Online Lookup.

Siebel CRM Desktop for Microsoft Outlook Administration Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.