Oracle CRM On Demand Desktop Administration Guide > Code Listing for Updates to the Customization Package from Version 2.0 >

XML Code Addition for the od_basic_mapping.xml File


Add new types by inserting the following lines inside the <database> <types> element in the od_basic_mapping.xml as described in Step c:

<type id = "Book" icon = "type_image:Generic:16">
         <field id = "Label">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "Value">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "SortOrder">
            <type>
               <simple type = "integer"/>
            </type>
         </field>
         <field id = "IsDefault">
            <type>
               <simple type = "boolean"/>
            </type>
         </field>
         <field id = "ParentCode">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "ParentBookName">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "ParentBookId">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "BookType">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "CanContainDataFlag">
            <type>
               <simple type = "boolean"/>
            </type>
         </field>
   </type>
<type id = "BookDefaults" icon = "type_image:Generic:16">
         <field id = "Label">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "Value">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "SortOrder">
            <type>
               <simple type = "integer"/>
            </type>
         </field>
         <field id = "IsDefault">
            <type>
               <simple type = "boolean"/>
            </type>
         </field>
         <field id = "ParentCode">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "BookId">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "IncludeSubBooks">
            <type>
               <simple type = "boolean"/>
            </type>
         </field>
</type>
<type id = "RequiredFields" icon = "type_image:Generic:16">
         <field id = "Label">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "Value">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "SortOrder">
            <type>
               <simple type = "integer"/>
            </type>
         </field>
         <field id = "IsDefault">
            <type>
               <simple type = "boolean"/>
            </type>
         </field>
         <field id = "ParentCode">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "TypeName">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "Required">
            <type>
               <simple type = "boolean"/>
            </type>
         </field>
         <field id = "SalesProcLang">
            <type>
               <simple type = "string"/>
            </type>
         </field>
</type>
<type id = "Book.Type.Association">
         <field id = "TypeName">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "BookId">
            <type>
               <simple type = "string"/>
            </type>
         </field>
         <field id = "IncludeSubBooks">
            <type>
               <simple type = "boolean"/>
            </type>
         </field>
</type>

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