APPLICATION DESIGN


To show a single category in embedded views
You can restrict an embedded view to a single category. However, for the Show Single Category option to work, the embedded view must first have been categorized . Note that the category name will not appear in the embedded view. For example, if you check the Show Single Category box for a category named Kitchen, the embedded view will not have a line named Kitchen. Instead, you will see under Kitchen documents such as Stove, Refrigerator, and so on.

Also, if the Show Single Category formula evaluates to an asterisk (*), all categories are shown. This is useful if, for example, you want to restrict an embedded view to a single category for Web users and show all categories for IBM® Lotus® Notes® users.

1. Open a form in IBM® Lotus® Domino(TM) Designer.

2. Choose Create - Embedded Element - View. The Insert Embedded View dialog box appears.

3. Highlight the view you want and click OK.

4. Choose "Show Single Category" as the event in the object list in the Programmer's pane.

5. Enter a formula to compute the category. The formula can make use of information about the current user and information from the current document (the one embedding the view).

Note You cannot use @Commands with Show Single Category.

See Also