APPLICATION DESIGN
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 IBMR LotusR 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:
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 IBMR LotusR NotesR 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
To do this, create an embedded view with threads on a page or form and assign it a name in the Embedded View. Check the "Show only current threads" option on the Embedded View Properties box. Then, create another embedded view on the page, form, or document, and in the "Single Click" target field on the Embedded View Properties box for the second view, enter the name of the first embedded view.