Customize the alert details view
In Alert Console, if an alert is raised for an order when you are viewing the alert details you can click on the order and view the details. If you want that link to also point to the main detail view of your document type, you must customize the Alert Details view.
About this task
To customize the Alert Details view:
Procedure
- Create a new Link ID under the new detail view of Alerts.
- Point the new Link ID to go to the newly created view of your new document type.
- Customize the JSP of the new Alert detail view to call the getDetailHrefOptions() JSP utility function with a Link ID parameter of the new document type.
- Change the sequence of the new Alert detail view so that the new view becomes the default Alert detail view.
- In order to make all links point appropriately to your new view, follow the steps in the "Incorporating Customized Views Across the Application" topic, listed under Related topics below.
- In order to retrieve the Document Type of the specific order number, configure the Alert detail view to call another API (after the exception detail API) to retrieve the order details. Configure the API to ignore exceptions. The API is called for all exceptions with the order number as a parameter, but the API throws an error if the order number is void. Since the API is configured to ignore the exception, it is not reported to the user.