Create a New Document

The Compose command is one of the most frequently used functions in a Lotus Notes database. This command is used to create a new document in a database. When added to a button, it provides a user-friendly method to generate a new document. A button offers an alternative to creating a new document via the Lotus Notes menu bar.

How It Works

A new document is created when the button is clicked. The button calls the Compose command, which is equivalent to selecting the form from the Lotus Notes menu.

Implementation

To implement this solution, create an action button on a view, page, or form and insert the following formula in the Programmer's pane. Be sure to replace FORM with a valid form name or form alias name.

@Command([Compose]; "FORM")



An Introduction to the Lotus Domino Tool Suite

Getting Started with Designer

Navigating the Domino Designer Workspace

Domino Design Elements

An Introduction to Formula Language

An Introduction to LotusScript

Fundamentals of a Notes Application

Calendar Applications

Collaborative Applications

Reference Library Applications

Workflow Applications

Web Applications

Design Enhancements Using LotusScript

Design Enhancements Using Formula Language

View Enhancements

Sample Agents

Miscellaneous Enhancements and Tips for Domino Databases

Data Management

Security

Application Deployment and Maintenance

Troubleshooting

Appendix A. Online Project Files and Sample Applications

Appendix B. IBM® Lotus® Notes® and Domino®Whats Next?



Lotus Notes Developer's Toolbox(c) Tips for Rapid and Successful Deployment
Lotus Notes Developers Toolbox: Tips for Rapid and Successful Deployment
ISBN: 0132214482
EAN: 2147483647
Year: N/A
Pages: 293
Authors: Mark Elliott

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net