Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Inside mail distribution: the programming project (continued)

The NabFields profile could present a list box of the available fields derived from NotesForm.Fields. Then the administrator merely selects from the available fields. Or we could even do away with this profile document completely and use the NotesForm.Fields list on the Group form.

You might be tempted to add code that automatically ignores non-mail groups in the Directory, but I wouldn't do this because of the risk of creating duplicate groups. Remember mail groups include not only "Mail only" (GroupType 1) but also Multi-Purpose (GroupType 3) groups. What I might well do, though, is alter the CreateGroup sub at line 23 so that newly created groups are Type 1 rather than Type 0.

If the application had a wider audience than the administrators, I'd be tempted to handle the non-managed groups better. This is actually intended as a longstop against the administrator having a moment of aberration and creating a Group definition for something like LocalDomainServers. It was never intended as a complete lockdown mechanism.

As the application stands, when you enter a Group definition and hit the selection button, you get a list of all the Groups in the directory, because it uses the Groups view. This doesn't include Deny Access views, however. You select a Group, and then it's checked against the list of non-Managed views. This looks a bit clunky. One alternative, but not a complete solution, would be to use the hidden $MailGroups view for selection, and then you would only present Type 1 groups. The non-Managed groups list would then be much smaller, and you might not need any at all. Or, better, as the database is opened, a list of good groups could be created and stored temporarily in a profile. This list would include all Mail and Multi-Purpose groups--types 0 and 1--and exclude all non-managed groups. Then, when the Group list is requested, this list could be offered via @dbcolumn.

I'd also remove what is, to be honest, the rather questionable "security" provision of checking the expected list owner against the actual owner in the Directory. I don't, with hindsight, see that it adds anything to the application.

But after all this, you'll still be left with one thing, and that is that the groups will be as good as the source data that they're created from. So you'll still have to ensure that as people join and leave the company, move jobs, or get promoted, that the source data changes. Otherwise your groups still won't accurately reflect reality.

I hope you've enjoyed this in-depth look at programming a major Lotus project. Let me know if you do anything new with it by emailing me at mick_moignard@unipart.co.uk or by posting a message on the DominoPower Magazine PowerBoards.

Product availability and resources
For more information on Knowledge Base, visit http://www.lotus.com/support.

For the article, "How to automatically build groups based on ACL roles," by Tom Lowery in the February 1999 issue of DominoPower, visit http://www.dominopower.com/tocs/issue199902.html.

Bulk reprints
Bulk reprints of this article (in quantities of 100 or more) are available for a fee from Reprint Services, a ZATZ business partner. Contact them at reprints@zatz.com or by calling 1-800-217-7874.

Mick Moignard has been working with Notes and Domino for very nearly ten years. He is a Principal CLP with UALS (Unipart Advanced Learning Systems), a Lotus Premier Partner in the UK. If you want any more information or a preview of this application, contact Mick at mick_moignard@unipart.co.uk, or via http://www.uals.co.uk. UALS will also happily discuss commercial work on this application or any other Notes and Domino application development projects you need help with.


« Previous  ·  1  ·  2  ·  3  ·  4
Other articles you might like
Home > Strategies > Email Management (60 articles)
   Using the Notes Client with Gmail
   Using the Notes client with Hotmail (or not)
   Is English-only a viable mail management strategy?
Home > Social Computing > Messaging (10 articles)
   A Sametime plugin for Trillian
   DAMO deep-six: is there a future for Outlook/Domino integration?
   Why I STILL recommend Domino over Exchange
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.

Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).

Tap here to get started!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login