APPLICATION DESIGN


Displaying a customized error message on the Web
To customize the appearance of error messages that display to Web users, add custom error message forms to the database. If an error condition occurs and a custom form exists for it, IBM® Lotus® Domino(TM) uses the custom form to display the error message. Otherwise, Domino uses the default error message form. Message forms that you add to a database override any server-wide messages set up by an administrator.

To create the association between a form and an error condition, create a form with one of the following names. Then create an editable text field named MessageString to hold the error message. Add additional text, links, and other form objects that you want to display with the error message.

Form nameCondition
$$ReturnAuthenticationFailureThe user’s name and password cannot be verified.
$$ReturnAuthorizationFailureThe user does not have a sufficient access level for the database.
$$ReturnDocumentDeletedA document was successfully deleted.
$$ReturnGeneralErrorAny other error condition has occurred.

Adding the message field

Create one of the following fields to hold the error message: