Description
Messages provides Messages provide useful information for an exception, warning or information. information (expected values, actual value, missing data, etc).The xml file that is located in the metadata folder (/Crm/WebContent/metadata/ The messages.xml ), file contains a list of messages that can be used.
Attributes
Name | Description | Value |
---|
code | the exception class path that corresponds to the message | Any of the exception classes |
expression | the expression as displayed on the screen | Any |
description | the description of the message as displayed on the screen | Any |
...
|
codeEclipse | language | xml |
---|
title | Example |
---|
collapse | true |
---|
|
<messageconfig>
<messages>
...
<message>
<code>COM.CRM.EXCEPTION.PRIMARYFIELDEXCEPTION</code>
<expression>Cannot delete the default record.</expression>
<description>Cannot delete the default record.</description>
</message>
<message>
<code>COM.CRM.EXCEPTION.MANDATORYFIELDEXCEPTION</code>
<expression>Please specify %1.</expression>
<description>A mandatory field is not specified.</description>
</message>
...
</messages>
</messageconfig> |