
ADDRESS BOOK
A view you can't live without
DVON WILSON 02.27.2002
Rating: -3.63- (out of 5) Hall of fame tip of the month winner




|
You Can View User Feedback To This Tip
How about a view in the Domino Directory that shows you each user followed by a list of all the groups the user is a member of? i.e., Bob Smith is a member of Sales, Support Staff, Dallas Mail, App1.Authors, etc. As soon as you add Bob to a new group, the list instantly updates. I've added this view to every address book I've ever managed since release 2.0 of Notes...
Code
Add a view to the Domino Directory. Start with a Blank Shared view.
Name it Groupsby Member (this will cascade it below the already existing Groups view).
There are only three columns.
Column 1 formula:
@Name([Abbreviate]; members)
-Sort and Categorize the column
Column 2 formula:
Listname
-Sort the column
Column 3 formula:
ListDescription
-No need to sort
That's it - you'll see the power of this view without any other explanation.
Note: To protect the view from being deleted during a design upgrade; check the 'Prohibit design refresh or replace to modify' flag. It can be found while in designer looking a the view list by right clicking on the view name, go to Design Properties, go to the design tab (3rd from the left), see the first check box - click it.
USER FEEDBACK TO THIS TIP
- There is very important information that is accessable thru this view that you do not want people to see: domain, server, file and program information. To keep the information to restrictled to groups, go to designer and select the Groupsby view. In the programmer pane, you will find View Selection. Select this and in the pane next to it, you will see a button labeled "Add Condition..." Press the button. In the field marked "Search for documents where field..." and change the field name to Type. In the box directly below type in Group. It must have a capital "G" and the other letters must be small. Do not enclose in any quotes. Save this and your view will now only contain Group information.
Jo Ellen M.
- Just wanted to say there is an easier way to achieve the same results as described in the this tip. This view already exists in the NAB. It is a hidden view called "($ServerAccess)". Simply make a copy of it and make it visible. Or if you are an admin, simply view it with "Go To" on the View Menu.B. Nelson
- While I agree this view is nice to have in some Domino shops... it can become the source of very large indexes in companies with many users, and many groups. I would instead recomend the Domino Administrator client as the tool to allow you to query what groups users are part of. Alan L.
 |

|
|
 |
|
 |