Customizing the Validation Message and Labels

This task is a step in Process of Modifying the Customization Package to Add an MVG.

In this topic, you customize the validation message and a label for the dialog box and forms.

To customize the validation message and labels

  1. Use an XML editor open the package_res.xml file.

  2. Add the following code to the Script section:

    <str key="msg_channel_partner_present">This channel partner is already present in 
    the list.</str> <str key="msg_channel_partner_is_primary">This channel partner is 
    primary. The primary record cannot be removed. To remove this record, make another 
    record primary first.</str> <str key="msg_channel_partner_add_caption">Add 
    channel partner.</str><str key="lbl_channel_partner">Lead Partner Name</str>
    
  3. Add the same code that you added in step 2 to the Messages section.

  4. Close and then save the package_res.xml file.

The following code specifies the values for labels you use in the dialog box and form layouts:

<str key="lbl_channel_partner">Lead Partner Name</str>