APPLICATION DESIGN


URL commands for creating, deleting, editing, opening, and saving documents
The following commands manipulate documents in a database. Hidden design elements are hidden from the server too; you can’t use IBM® Lotus® Domino(TM) URL commands to access documents in hidden views.

Note The URLs shown below are for example only. They do not point to existing Web sites.

CreateDocument

The CreateDocument command is used as the POST action of an HTML form. When the user submits a form, Domino obtains the data entered in the form and creates a document.

Syntax

http://Host/Database/Form?CreateDocument

http://Host/Database/FormName?CreateDocument

Where:

FormName is the name of the form being accessed.

Examples

http://www.mercury.com/products.nsf/b9815a87b36a85d9852563df004a9533?CreateDocument

http://www.mercury.com/products.nsf/basketballs?CreateDocument

DeleteDocument

Syntax

http://Host/Database/View/Document?DeleteDocument

Example

http://www.mercury.com/products.nsf/By+Part+Number/PC156?DeleteDocument

EditDocument

Syntax

http://Host/Database/View/Document?EditDocument

Example

http://www.mercury.com/products.nsf/By+Part+Number/PC156?EditDocument

Note Rich text fields containing hidden text will be visible to Web users with Editor access to documents.

Note The following items may be lost or corrupted if they are in a rich text field which is edited with a Web browser using Domino Web Server:


Avoid using these items in a rich text field if that field is to be edited with a Web browser.

OpenDocument

Syntax

http://Host/Database/View/Document?OpenDocument

Where:

Document is any of the following:


$first
Examples

http://www.mercury.com/products.nsf/By+Part+Number/PC156?OpenDocument

http://www.mercury.com/leads.nsf/By+Rep/35AE8FBFA573336A852563D100741784?OpenDocument

SaveDocument

The SaveDocument command is used as the POST action of a document being edited. Domino updates the document with the new data entered in the form.

Syntax

http://Host/Database/View/Document?SaveDocument

Example

http://www.mercury.com/products.nsf/a0cefa69d38ad9ed8525631b006582d0/4c95c7c6700160e2852563df0078cfeb?SaveDocument

See Also