Siebel CRM Desktop for Microsoft Outlook Administration Guide > Additional Code in the Customization Example >

XML Code That Defines a Many-To-Many Relationship


You must define the Microsoft Outlook folder that stores these objects. However, for this example, it is not desirable to display these objects to the user. Therefore, you use a hidden folder in Microsoft Outlook that you define in the code as the following:

predefined_folder="1"

Because a form is not required to display these objects, you do not define a form. You add the following code to the siebel_basic_mapping.xml file:

<type id="Opportunity.Channel_Partner.Association" hidden_folder="true" folder_type="10" display_name="OCHP">

<form message_class="IPM.Contact.SBL.OpportunityChannel_PartnerAssociation" display_name="OpportunityChannel_PartnerAssociation" icon="type_image:Generic:16"></form>

<field id="OpportunityId">

<reader>

<mapi_user>

<user_field id="sbl OpportunityId" ol_field_type="1"></user_field>

<convertor><binary_hexstring/></convertor>

</mapi_user>

</reader>

<writer>

<outlook_user>

<user_field id="sbl OpportunityId" ol_field_type="1"></user_field>

<convertor><binary_hexstring/></convertor>

</outlook_user>

</writer>

</field>

<field id="ChannelPartnerId" ver="2">

<reader>

<mapi_user>

<user_field id="sbl ChannelPartnerId" ol_field_type="1"></user_field>

<convertor><binary_hexstring/></convertor>

</mapi_user>

</reader>

<writer>

<multiwriter>

<outlook_user>

<user_field id="sbl ChannelPartnerId" ol_field_type="1"></user_field>

<convertor><binary_hexstring/></convertor>

</outlook_user>

<link_fields>

<field from="Name" to="PartnerName"></field>

<field from="Location" to="PartnerLocation"></field>

</link_fields>

</multiwriter>

</writer>

</field>

<field id="PartnerName">

<reader>

<mapi_user>

<user_field id="sbl PartnerName" ol_field_type="1"></user_field>

<convertor><string/></convertor>

</mapi_user>

</reader>

<writer>

<outlook_user>

<user_field id="sbl PartnerName" ol_field_type="1"></user_field>

<convertor><string/></convertor>

</outlook_user>

</writer>

</field>

<field id="PartnerLocation">

<reader>

<mapi_user>

<user_field id="sbl PartnerLocation" ol_field_type="1"></user_field>

<convertor><string/></convertor>

</mapi_user>

</reader>

<writer>

<outlook_user>

<user_field id="sbl PartnerLocation" ol_field_type="1"></user_field>

<convertor><string/></convertor>

</outlook_user>

</writer>

</field>

</type>

Siebel CRM Desktop for Microsoft Outlook Administration Guide Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.