Oracle CRM On Demand Desktop Administration Guide > Additional Code in the Customization Example >
XML Code That Defines a Set of Custom Fields
To define a set of custom fields, you add the following code to the type element of the od_basic_mapping.xml file: <type id="ChannelPartner" hidden_folder="true" folder_type="10" display_name="CHPT"> <form message_class="IPM.Contact.OnDemand.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="od Location" ol_field_type="1"></user_field> <convertor><string/></convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Location" ol_field_type="1"></user_field> <convertor><string/></convertor> </outlook_user> </writer> </field> </type>
|