Hunter Medney has contributed a new project - Trouble Tickets Notes-to-XPages Example. Below is his description.

This application was created to demonstrate adding an XPages interface to an existing Notes application.  It was developed as a pure Notes application, and the XPages interface was added after.  The project contains 2 NSFs - the application as a pure Notes app and the same application as a hybrid Notes/XPages app.  The reason for 2 separate NSFs is some of the Notes code was refactored to allow it to be called from the XPages interface.

The XPages interface was built to coexist with the Notes interface such both could be used interchangeably - customers often prefer a coexistence period when deploying an XPages version of a Notes app.

About the application
The application is a simple help desk trouble tickets where tickets are created by end users employees, submitted to the help desk, assigned to one of the staff and then closed.  Each step in the process is added to the ticket history which was implemented as a rich text field in the Notes app to allow for unbound growth.  The application has roles for "staff" and "manager" which control different views and actions like assigning a ticket to a staff person and defining ticket categories.

About the XPages interface
The XPages interface was built using Domino 8.5.3 and the Extension Library (mainly for the application layout and dialog controls).  Key points in the XPages interface:
- Overall layout created using the xe:applicationLayout
- LotusScript in the original Notes app was divided into frontend and backend libraries.  The backend library is shared between the Notes and XPages interfaces (accessed via agents from XPages).
- Dialogs were implemented using xe:dialog.  This application shows how to use xe:dialog to reproduce LotusScript actions with user interaction, e.g. using NotesUIWorkspace.DialogBox to gather user input in the middle of the script.

comments powered byDisqus