If you customize Poetic by adding additional functionality, you may also need error messages to accompany that functionality. The developer uses these error messages in their code.
Poetic allows you to create custom error messages. Error messages you create are placed in a special Custom category.
You add and edit custom error messages from the Search Error Messages page. To display the page:
To add a custom error message, click Add custom message.
To edit a custom error message:
The list of custom messages displays.
The Custom Error Message Header page displays.
Code | You use the Code field to set the code that represents the error message in the application code.
All custom error message codes begin with "CUSTOM_", which is provided automatically. In the field following "CUSTOM_", type the remainder of the code. Be sure not to use any spaces in the code. NOTE: Because the code is used in the actual application code, be very careful about editing it. If you change the code here, but the change is not reflected in the code, the error message will not display when it is needed. |
Description | In the Description field, type a brief description of the message. |
Default message | In the Default message field, type the default text of the message.
The default text displays whenever the message is edited or localized, to provide a reference point for the message content. |
How to use | In the How to use field, type a longer description of when and how the message is used. |
For information on how to edit and localize the message text, see Editing and localizing error messages. Note that you cannot localize the text of a custom error until you have saved it.