Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
nameblue

Messages metadata file is used to define the error, question, and informational messages used by the system.

 

What does this section cover?

Table of Contents

This section describes how custom messages can be defined. For more information on creating new messages, please go

...

to Implement Messages.

 

What does this section cover?

Table of Contents

Messages File

Custom messages are declared in messages.xml file, which must be created under <custom_project>/web/WebContent/metadata directory. 

Define Custom Messages

To define a custom error, question or informational message you have to use a unique message code , and define the message expression and description.

...

Code Block
languagexml
titlemessages.xml
collapsetrue
<messageconfig>
	<messages>
		<message>
			<code>EXCEPTION.NOEFFECTIVESMSSETTINGSEXCEPTION</code>
			<expression>key_exception_noeffectivesmssettings</expression>
			<description>No Effective SMS Profile Settings Configure In The System.</description>
		</message>
		...
	</messages>
</messageconfig>

 

For a full list of metadata messages attributes, go to Messages Metadata.