Oracle CRM On Demand Desktop Customization Guide > XML Code for Service Request Types >
XML Code for the Service Request Type Example
The XML code is as follows: <type id="Service Request" folder_type="10" display_name="Service Requests"> <form message_class="IPM.Contact.SBL.ServiceRequest" display_name="Service Request" icon="type_image:Service_Request:16" large_icon="type_image:Service_Request:32" >OnDemand ServiceRequest</form> <custom_views default_name="#view_for_service_requests"> <view id="all_srv_request" name="Service Requests"></view> </custom_views> <field id="SRNumber"> <reader> <mapi_user> <user_field id="od SR Number" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od SR Number" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="AccountId"> <reader> <mapi_user> <user_field id="od AccountId" ol_field_type="1"></user_field> <convertor> <binary_hexstring/> </convertor> </mapi_user> </reader> <writer> <multiwriter> <outlook_user> <user_field id="od AccountId" ol_field_type="1"></user_field> <convertor> <binary_hexstring/> </convertor> </outlook_user> <link_fields> <field from="AccountName" to="AccountName"></field> </link_fields> </multiwriter> </writer> </field> <field id="AccountName"> <reader> <mapi_user> <user_field id="od Account Name" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Account Name" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="ContactId"> <reader> <mapi_user> <user_field id="od ContactId" ol_field_type="1"></user_field> <convertor> <binary_hexstring/> </convertor> </mapi_user> </reader> <writer> <multiwriter> <outlook_user> <user_field id="od ContactId" ol_field_type="1"></user_field> <convertor> <binary_hexstring/> </convertor> </outlook_user> <link_fields> <field from="ContactFirstName" to="ContactFirstName"></field> <field from="ContactLastName" to="ContactLastName"></field> <field from="WorkPhone" to="ContactWorkPhone"></field> <field from="ContactEmail" to="ContactEmail"></field> <field from="DisplayName" to="ContactName"></field> </link_fields> </multiwriter> </writer> </field> <field id="ContactFirstName"> <reader> <mapi_std> <mapi_tag id="0x3A060000"></mapi_tag> <convertor> <string/> </convertor> </mapi_std> </reader> <writer> <outlook_std> <outlook_field id="CompanyName"></outlook_field> <convertor> <string/> </convertor> </outlook_std> </writer> </field> <field id="ContactLastName"> <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> </field> <field id="ContactWorkPhone"> <reader> <mapi_user> <user_field id="od ContactWorkPhone" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od ContactWorkPhone" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="ContactEmail"> <reader> <mapi_user> <user_field id="od ContactEmail" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od ContactEmail" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="ContactName"> <reader> <mapi_user> <user_field id="od ContactName" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od ContactName" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Area"> <reader> <mapi_user> <user_field id="od Area" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Area" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Cause"> <reader> <mapi_user> <user_field id="od Cause" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Cause" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Type"> <reader> <mapi_user> <user_field id="od Type" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Type" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Source"> <reader> <mapi_user> <user_field id="od Source" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Source" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="CurrencyCode"> <reader> <mapi_user> <user_field id="od CurrencyCode" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od CurrencyCode" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Priority"> <reader> <mapi_user> <user_field id="od Priority" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Priority" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Status"> <reader> <mapi_user> <user_field id="od Status" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Status" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="OwnerId"> <reader> <mapi_user> <user_field id="od OwnerId" ol_field_type="1"></user_field> <convertor> <binary_hexstring/> </convertor> </mapi_user> </reader> <writer> <multiwriter> <outlook_user> <user_field id="od OwnerId" ol_field_type="1"></user_field> <convertor> <binary_hexstring/> </convertor> </outlook_user> <link_fields> <field from="FullName" to="OwnerFullName"></field> </link_fields> </multiwriter> </writer> </field> <field id="OwnerFullName"> <reader> <mapi_user> <user_field id="od Owner Full Name" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Owner Full Name" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Subject"> <reader> <mapi_user> <user_field id="od Subject" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Subject" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="Description"> <reader> <mapi_user> <user_field id="od Description" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od Description" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="ObjectState"> <reader> <mapi_user> <user_field id="od ObjectState" ol_field_type="3"/> <convertor> <integer/> </convertor> </mapi_user> </reader> <writer> <multiwriter> <outlook_user> <user_field id="od ObjectState" ol_field_type="3"/> <convertor> <integer/> </convertor> </outlook_user> <outlook_std> <outlook_field id="User1"/> <convertor> <bitmask2string> <rule mask="1" result="1" value="true"/> <rule mask="1073741824" result="1073741824" value="true"/> </bitmask2string> </convertor> </outlook_std> <outlook_user> <user_field id="od IndirectlyVisible" ol_field_type="6"/> <convertor> <bitmask2bool> <condition mask="1" result="1" eq="true"/> </bitmask2bool> </convertor> </outlook_user> </multiwriter> </writer> </field> <field id="StatusContact"> <reader> <mapi_user> <user_field id="od StatusContact" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od StatusContact" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="StatusAccount"> <reader> <mapi_user> <user_field id="od StatusAccount" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </mapi_user> </reader> <writer> <outlook_user> <user_field id="od StatusAccount" ol_field_type="1"></user_field> <convertor> <string/> </convertor> </outlook_user> </writer> </field> <field id="SuppressFileAs"> <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> </type>
|