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. For information on naming views and folders, see "Naming a view or folder."
1. Open a form, subform, or page in 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.
- Create - Embedded Element - View
- Create - Embedded Element - Folder Pane
5. (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.
6. (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"). For more information on target frames, see the Framesets topic, "Specifying a target frame." Close and save the form, subform, page, or document.
7. (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.
- To delete an embedded view or folder pane, click the embedded view or folder pane in the Work pane and choose Edit - Clear.
- Domino prevents the view opening if there are create or read access lists on a form in which views are embedded.
- For compatibility with previous releases, the reserved fields $$ViewBody and $$ViewList still work on forms.
- When you embed a calendar view, the embedded view property "Disable scrollbars" has no effect. Scrollbars for calendars always display -- the horizontal scrollbar is used to change dates, and the vertical arrows appear if there are too many entries to fit the vertical space.
To show a single category in embedded views
To set line counts in embedded views
Displaying a view as an applet in Web applications
Displaying views in Web applications