Code That Creates a New Object Type for the Pick List
To create a new object type for the pick list, you must use the following format for the type id attribute:
<type id="object_namefield_namePicklist" predefined_folder="1">
where:
object_name is the name of the object type in the siebel_meta_info.xml file.
field_name is the name of the field that resides in the object you define in the object_name.
For example:
<type id="ContactPreferred CommunicationsPicklist" predefined_folder="1">
To create a new object type for a pick list, add the following code to the siebel_basic_mapping.xml file:
<type id="ContactPreferred CommunicationsPicklist" predefined_folder="1">
<form message_class="IPM.Contact.SBL.ContactPreferred CommunicationsPicklist"></
form>
<field id="Label">
<reader>
<mapi_user><user_field id="sbl picklistLabel" ol_field_type="1"></user_field>
<convertor><string/></convertor>
</mapi_user>
</reader>
<writer>
<
Outlook_user><user_field id="sbl picklistLabel" ol_field_type="1"></
user_field>
<convertor><string/></convertor>
</
Outlook_user>
</writer>
</field>
<field id="Value">
<reader>
<mapi_user><user_field id="sbl picklistValue" ol_field_type="1"></user_field>
<convertor><string/></convertor>
</mapi_user>
</reader>
<writer>
<
Outlook_user><user_field id="sbl picklistValue" ol_field_type="1"></
user_field>
<convertor><string/></convertor>
</
Outlook_user>
</writer>
</field>
<field id="SortOrder">
<reader>
<mapi_user><user_field id="sbl SortOrder" ol_field_type="3"></user_field>
<convertor><integer/></convertor>
</mapi_user>
</reader>
<writer>
<
Outlook_user><user_field id="sbl SortOrder" ol_field_type="3"></user_field>
<convertor><integer/></convertor>
</
Outlook_user>
</writer>
</field>
<field id="IsDefault">
<reader>
<mapi_user><user_field id="sbl IsDefault" ol_field_type="6"></user_field>
<convertor><bool/></convertor>
</mapi_user>
</reader>
<writer>
<
Outlook_user><user_field id="sbl IsDefault" ol_field_type="6"></user_field>
<convertor><bool/></convertor>
</
Outlook_user>
</writer>
</field>
</type>