APPLICATION DESIGN


Designing forms that launch objects automatically
Example

You can create forms that automatically launch an embedded object when a document is created. The object can be either:


When an object is autolaunched, modified by the user, and saved, it is displayed in the document in the field you specify in the "Create object in field" box. You can specify "First Rich Text Field" to display the saved object in the first rich text field in the document.

To display the current representation of an existing object in the document, store the form with the document. This causes updates to the object to replace the original embedded object in the document. Be aware, however, that storing the form with the document uses a large amount of disk space and processing time.

Objects and full text search

Full text searches can include embedded objects and attachments. When a full text search finds a match in an embedded object or attachment, the object or attachment opens, but the matching word or phrase does not appear highlighted.

Nested objects

If the OLE server application is also a client application, an object in a IBMR LotusR NotesR document may have other objects within it. In this case, when an object is updated, the object in the Notes document reflects the changes even if they were made in an other application.

When an object that contains other objects is autolaunched, only the application that created the object embedded in the Notes document is launched.

To design a form that launches an existing object

1. Open the form containing the embedded object you want to launch automatically.

2. Choose Design - Form Properties.

3. Click the Launch tab.

4. Select "First OLE object" in the Auto Launch box.

5. (Optional) To create the object in a rich text field, do the following:

6. (Optional) To store the form with the document choose Design - Form Properties, then click the Defaults tab, and select "Store form in document."

7. Close and save the form.

Example
See Also