Status
Release Available |
Status |
Framework Name |
---|---|---|
4.2 |
Current |
MUI and Mint |
General
A Portal administrator can configure to access the error messages from the REST API calls and display them to the end user. The error messages are configured using the $serverMessage
syntax. This feature is helpful in displaying error messages that can be easily understood by a human user.
This is applicable for both "style" as "primary" and "iconic".
Example 210. Code JSON
{ "name": "upload", "actionType": "upload", ...... "messages": { "uploadFailureText": "$serverMessage;" } }