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
Use an XML editor open the package_res.xml file.
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>
Add the same code that you added in step 2 to the Messages section.
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>