Composing and saving documents
As you start to look at older applications that were not intentionally enabled for the Web, you may find some that provide no way to create a new document or to toggle an existing document into Edit mode. In such cases, you will have to create buttons or hotspots to provide these features.
Please note that the @Command alternatives illustrated in this section work on the Web only if the application property Use JavaScript when generating pages is enabled, as discussed in a previous topic.
Create documents
In a web application, a new document can be created when a user clicks a button or hotspot whose formula includes an appropriate @Command. Here "Customer" is the name of the form.
@Command([Compose];"Customer")
Alternatively, a blank form can be opened with a URL attached to a button or hotspot.
http://192.168.1.210/ellisits/websandbox03.nsf/customer?openform
The URL can be computed using an @Command, JavaScript, or even LotusScript (running in an agent). This...