To show a single category in embedded views
About this task
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 Notes® users.
Procedure
- Open a form in Domino® Designer.
- Choose Create - Embedded Element - View. The Insert Embedded View dialog box appears.
- Highlight the view you want and click OK.
- Choose "Show Single Category" as the event in the object list in the Programmer's pane.
- 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).
Results
Note: You cannot use @Commands with Show Single
Category.