APPLICATION DESIGN


Creating an embedded view or embedded folder
When you embed a view or folder on a form, subform, page, or document, you can control the size and appearance of a view or folder display, especially on the Web. Embedding a view or folder pane lets you combine views and folders with other form elements (such as styled text) and graphics.

Before you begin, if there is any chance the view or folder you are embedding could be renamed, assign an alias before you embed it to avoid breaking the application if an embedded object is renamed.

1. Open a form, subform, or page in IBM® Lotus® Domino(TM) Designer, or open a document in Edit mode.

2. Place the cursor where you want the embedded view or folder to display.

3. Choose one of the following:

4. Views only: set a display option for the embedded view. You can display the view using HTML, as a Java applet, or using the display properties set for the view.

5. (Optional, for views) You can assign a name to the embedded view. This name allows you to specify an embedded view as a target from another embedded view. This technique is used in the IBM® Lotus® Notes® mail template to show discussion threads in the Inbox view of the workplace.

6. (Optional, for views) If you don't want to display the same view in all circumstances, click "Choose a View based on a formula." When you click OK to close the dialog box, write a formula in the Programmer's pane to display the appropriate view.

7. (Optional, for views) You can specify a target frame on the Info tab of the Embedded View Properties box. The target frame specifies where the document is displayed when a user selects a document in an embedded view with a single click or with the arrow keys, or with a double click. You can specify a target frame for a single click (next to "for single click") and a target frame for a double-click (next to "for double click").

8. (Optional, for views) If the embedded view is in the current database, you can select "Show only current thread" to display documents for one "thread" -- that is, one main topic and all the associated response documents.

9. (Optional, for views) Check "Use views selection margin property" to maintain the margin settings you set for the view.

Tips


See Also