Specifying the List
The custom object stores items that the user chooses in a list. You describe the list field in the same way as you describe a string field. You must describe the object that stores all list values. Each list uses a separate object to store the values for the list. You must build the IDs for these objects according to the following rules:
Object name and field
Name and list
You must make sure the Type list on the Activity object includes the ID of the ActionTypePicklist object. To specify a list object, you must specify the following set of standard fields:
Label
Value (string)
SortOrder (integer)
IsDefault (Boolean)
To specify the list
Use an XML editor to open the siebel_basic_mapping.xml file.
To create a drop-down list, you add the following code to the activity object:
<type id="ActionTypePicklist" predefined_folder="1"> <form message_class="IPM.Contact.SBL.ActionTypePicklist"></form> <field id="Label"> <reader class="mapi_user"> <user_field id="sbl picklistLabel" ol_field_type="1"></user_field> <convertor class="string"></convertor> </reader> <writer class="Microsoft Outlook_user"> <user_field id="sbl picklistLabel" ol_field_type="1"></user_field> <convertor class="string"></convertor> </writer> </field> <field id="Value"> <reader class="mapi_user"> <user_field id="sbl picklistValue" ol_field_type="1"></user_field> <convertor class="string"></convertor> </reader> <writer class="Microsoft Outlook_user"> <user_field id="sbl picklistValue" ol_field_type="1"></user_field> <convertor class="string"></convertor> </writer> </field> <field id="SortOrder"> <reader class="mapi_user"> <user_field id="sbl SortOrder" ol_field_type="3"></user_field> <convertor class="integer"></convertor> </reader> <writer class="Microsoft Outlook_user"> <user_field id="sbl SortOrder" ol_field_type="3"></user_field> <convertor class="integer"></convertor> </writer> </field> <field id="IsDefault"> <reader class="mapi_user"> <user_field id="sbl IsDefault" ol_field_type="6"></user_field> <convertor class="bool"></convertor> </reader> <writer class="Microsoft Outlook_user"> <user_field id="sbl IsDefault" ol_field_type="6"></user_field> <convertor class="bool"></convertor> </writer> </field> </type>