Oracle CRM On Demand Desktop Administration Guide > XML Files Reference > XML Code to Map a Field in Microsoft Outlook Storage >

Example Code of the od_basic_mapping.xml File


This topic gives one example of code that Oracle CRM On Demand Desktop uses in the od_basic_mapping.xml file. You might use this feature differently, depending on your business model. The following code is an example of the od_basic_mapping.xml file:

<?xml version="1.0" encoding="utf-8"?>
<sd2_meta>
   <types>
      <type id="Contact" predefined_folder="10">
         <form message_class="IPM.Contact.OnDemand.Contact" icon="type_image:Contact:16" large_icon="type_image:Contact:32" display_name="Contact">OnDemand Contact</form>
         <alt_messageclasses>
            <alt_messageclass ext="Private" display_name="Private Contact" icon="type_image:Contact.Private:16" large_icon="type_image:Contact.Private:32">OnDemand Contact</alt_messageclass>
            </alt_messageclasses>
            <custom_views default_name="#view_crm_and_personal_contacts">
               <view id="all_contacts" name="#view_crm_and_personal_contacts"></view>
            </custom_views>
             <field id=" First Name ">
                <reader class="mapi_std">
                   <mapi_tag id="0x3A060000"></mapi_tag>
                    <convertor class="string"></convertor>
                </reader>
                <writer class="Microsoft Outlook_std">
                     <Microsoft Outlook_field id=" FirstName "></Microsoft Outlook_field>
                     <convertor class="string"></convertor>
                 </writer>
             </field>
             <field id="Location">
                 <reader class="mapi_user">
                    <user_field id="od Location" ol_field_type="1"></user_field>
                    <convertor class="string"></convertor>
                 </reader>
                 <writer class="Microsoft Outlook_user">
                    <user_field id="od Location" ol_field_type="1"></user_field>
                    <convertor class="string"></convertor>
                 </writer>
              </field>
      </type>
   </types>
</sd2_meta>

Oracle CRM On Demand Desktop Administration Guide, Version 5.1, Rev A Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.