Skip to end of banner
Go to start of banner

Messages

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

Messages provides useful information for an exception, warning or information. (expected values, actual value, missing data, etc).

The xml file that is located in the metadata folder (/Crm/WebContent/metadata/messages.xml), contains a list of messages that can be used.

Attributes

NameDescriptionValue
code

the exception class path that corresponds to the message

Any of the exception classes
expressionthe expression as displayed on the screenAny
descriptionthe description of the message as displayed on the screenAny

Examples

<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>
  • No labels