Creating a document from an XPage

I have created an XPage that uses a Domino document data source. This data source uses a Notes form and the default action is create document.

I put a Save and Close button on the XPage; this is a Submit button. The server-side simple action is Save Document.

However when I click the button I get the XPage’s error page, that is, the “next page (if update fails)” page. This doesn’t tell me anything about what happened. There is nothing in the log, and no document is created.

I’m using 8.5 FP1 on Windows XP. (This is the most recent release I have been able to obtain.) The server (same version of course) is running locally.

Is there anything else I have to do to create a document through an XPage? And why would such a simple operation raise an exception?

Subject: to get better error messages turn on the default error page

Go to your app properties and choose Display XPages runtime error page on the XPages tab

Howard