Previewing an XPage

You can preview an XPage in a Domino® server or Notes® client environment.

Before you begin

For a Web preview, you must first adjust the access control list (ACL) for the application. Right-click the application in the navigator and select Application > Access Control. Add an entry for Anonymous and set an appropriate level of access (at least Author with the ability to create documents).
Note: Also, make sure that the HTTP task is running on the Domino® server in order to successfully perform a Web preview.

Procedure

  1. Right-click an XPage and select Preview in Notes or Preview in Web Browser.
    Alternatively, with focus on an XPage, you can click Design > Preview in Notes or Design > Preview in Web Browser on the menu.

    Alternatively, with focus on an XPage, you can click the Preview in Notes or Preview in Web Browser icon on the tool bar.

  2. For Preview in Web Browser, select the browser type.

Results

A Notes® preview starts the Notes® client if necessary then opens the XPage in the client. The client handles requests from the XPage.

A Web preview starts a Domino® local preview server then opens the XPage in a browser. The local preview server handles requests from the XPage.

Previewing an XPage on the Web may differ from running the XPage in the context of the full application. Results may also depend on whether you are previewing a local or remote application. Previewing a local application always uses Anonymous for access control, and the local preview server lacks some advanced functions of a production server. However, scripts run and documents are created, signed with Anonymous for local previews and with the current ID for previews on a server, giving you a realistic look at the application.