Creating a Set of Fields for the Custom Object

This topic describes how to create a set of fields for the custom object.

The siebel_basic_mapping.xml file describes each of the fields for the custom object. Siebel CRM Desktop maps each field to a custom field, except for the following fields:

  • Siebel CRM Desktop maps the Description field to the Last Name field. This field is a native field in Outlook.

  • Siebel CRM Desktop maps the Comment field to the Body field because it does not support the textarea field. Therefore, it uses the native Outlook control that displays the value for the Body field.

For more information, see Adding Custom Fields.

To create a set of fields for the custom object

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

  2. Add the following code to the type tag:

    <type id="ChannelPartner" hidden_folder="true" folder_type="10" 
    display_name="CHPT">
      <form message_class="IPM.Contact.SBL.Channel_Partner" display_name="Channel 
        Partner" icon="type_image:User:16"></form>
        <field id="Name">
         <reader>
           <mapi_std> 
            <mapi_tag id="0x3A110000"></mapi_tag>
              <convertor><string/></convertor>
            </mapi_std>
          </reader>
          <writer>
            <Outlook_std>
              <Outlook_field id="LastName"></Outlook_field>
              <convertor><string/></convertor>
            </Outlook_std>
          </writer>
          <reader>
            <mapi_std>
              <mapi_tag id="0x3A060000"></mapi_tag>
              <convertor><string/></convertor>
            </mapi_std>
          </reader>
          <writer>
            <Outlook_std>
              <Outlook_field id="FirstName"></Outlook_field>
              <convertor><string/></convertor>
            </Outlook_std>
          </writer>
          </field>
            <field id="Location">
          <reader>
            <mapi_user>
              <user_field id="sbl Location" ol_field_type="1"></user_field>
              <convertor><string/></convertor>
            </mapi_user>
          </reader>
          <writer>
            <Outlook_user>
              <user_field id="sbl Location" ol_field_type="1"></user_field>
              <convertor><string/></convertor>
            </Outlook_user>
          </writer>
        </field>
    </type>
    

Fields That Siebel CRM Desktop Uses for the Custom Object

The following table describes the fields you create for this example.

Field Label Field Name Field Type

Description

Description

Text

Type

Type

Picklist

Priority

Priority

Picklist

Owner

Primary Owner Id

Lookup

Account

Account Id

Lookup

Opportunity

Opportunity Id

Lookup

Contacts

No field on this object

MVG

Employee

No field on this object

MVG

Planned Start

Planned

datetime

Planned Completion

Planned Completion

datetime

Due

Due

datetime

Status

Status

Picklist

Comments

Comment

Textarea