Designing forms that launch objects automatically

About this task

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

  • An existing embedded object, that is stored and launched from a rich text field
  • A new object that is created and then stored in a rich text field.

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

Procedure

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

About this task

If the OLE server application is also a client application, an object in a Notes® 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

Procedure

  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:
    • Position the insertion point where you want to create a field to display the object, and choose Create - Field.
    • Enter a name for the field.
    • Select Rich Text in the Type box.
    • Select Form in the "Properties for" drop-down list.
    • Click the Launch tab.
    • Select the name of the rich text field in the "Create object in field" box or choose "First Rich Text Field."
    • Select "None" if you do not want to display a current representation of the object in documents.
  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.