Oracle CRM On Demand Desktop Customization Guide > Adding Custom Fields to Oracle CRM On Demand Desktop > Adding Custom Fields to Oracle CRM On Demand Desktop >

Changing the XML Code in the package_res.xml File


The package_res.xml file contains the string translations for the string references that are used by the fields, which makes translating the UI easier because all the labels are in one place. You must add a new reference to this file for the new field label as described in this procedure.

The text that you enter for the <str> element is visible in the UI as the field name.

The value of the key attribute of the <str> element must be correctly referenced in the forms_12.xml file to display the field name, as shown in this example.

To change the XML code in the package_res.xml file

  1. Edit the package_res.xml file.
  2. Add the string reference for the Membership field as highlighted in bold font in the following example XML code:

    <res_root>
    ...
    ...
    <!-- Contact form -->
    <str key="head_contact_details">Contact Details</str>
    <str key="lbl_job_title">Job title:</str>
    <str key="lbl_contact_team">Contact Team:</str>
    <str key="lbl_save_correspondence_to_crm">Automatically save contact emails to CRM</str>
    <str key="lbl_never_email">Never Email</str>
    <str key="head_comments">Comments</str>
    <str key="head_business_addresses">Business Addresses</str>
    <str key="head_private_addresses">Personal Addresses</str>
    <str key="btn_account_address_caption">Account Address...</str>
    <str key="btn_contact_address_caption">Contact Address...</str>
    <str key="lbl_membership">Membership: </str>
    ...
    ...
    </res_root>

  3. Verify your changes and save the package_res.xml file.
Oracle CRM On Demand Desktop Customization Guide, Version 5.2 Revision A Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.