Adding the Primary Field

This task is a step in Process of Modifying the Customization Package to Add an MVG.

In this topic, you add the primary field to the customization package. This field displays in the MVG dialog box that you add for this example.

To add the primary field

  1. Add the primary field. You do the following:

    1. Use an XML editor open the siebel_meta_info.xml file.

    2. Add the following code to the Opportunity object:

      <field Name='Primary Partner Id' Label='Primary Partner Id' 
      DataType='DTYPE_ID' IsFilterable='no' IsRefObjId='yes' 
      RefObjTypeId='ChannelPartner' IOElemName='PrimaryPartnerId' />
      
    3. Save and then close the siebel_meta_info.xml file.

    4. Use an XML editor to open the siebel_basic_mapping.xml file:

    5. Add the following code to the Opportunity type tag:

      <field id="Primary Partner Id">
      
        <reader>
      
          <mapi_user>
      
            <user_field id="sbl Primary Partner Id" ol_field_type="1"></user_field>
      
            <convertor><binary_hexstring/></convertor>
      
          </mapi_user>
      
        </reader>
      
        <writer>
      
          <Outlook_user>
      
            <user_field id="sbl Primary Partner Id" ol_field_type="1"></user_field>
      
            <convertor><binary_hexstring/></convertor>
      
          </Outlook_user>
      
        </writer>
      
      </field>
      
    6. Save and then close the siebel_basic_mapping.xml file.

  2. Add the link:

    1. Use an XML editor open the connector_configuration.xml file.

    2. Add the following code to the Opportunity type tag:

      <link>Primary Partner Id</link>
      
    3. Save and then close the connector_configuration.xml file.