Search DominoPower's 11,320 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.
THIS WEEK'S POWERTIP
Working with folders in mail and how to find lost documents
By Mick Moignard

Recently, in another newsletter, I read a piece about finding with documents in a mail file that should be in the inbox folder, but aren't. A solution was offered that, while it more than likely worked, didn't seem to me to be the best way of dealing with the issue. I remembered that I'd worked on this problem before, and on another similar issue that was solved in a similar way.

In Notes, a folder is implemented as a view, with the only difference being that a view has a selection formula that describes which documents should be in the view. A folder doesn't. From the point of view of a document, these two are quite different. It's easy to see if a document is in a view or not by executing the view selection formula against the document. A folder works by maintaining a list of documents that it contains. Documents themselves don't know which folders they are in.

This starts to cause a problem when you start playing about with database designs, particularly if you delete and recreate the Inbox folder in a mail database. If you delete the inbox folder, the list of documents that is in that folder vanishes with the folder. Create a new Inbox, and the new one is empty. There's a whole number of ways that this scenario plays out, but the bottom line is that the inbox is empty. And the owner of the mail file will be muttering dark threats at the Admin people whom he will be blaming for this.

Another version of this scenario is the one where people can't find where they have filed documents in their mail. They can see the document in All Documents -- which is a view -- but they can't find it in any folder, and the Notes mail database doesn't give them any help in finding which folder it is in. More dark mutterings are heard, calling into question the parentage of everyone involved in Notes from Ray Ozzie down to the most junior System Admin person.

Actually both of these scenarios are quite simple to solve. One of my customers has taken one of the solutions I'm about to offer to heart, and has added it as an action to his mail file template. Both solutions hinge around the LotusScript NotesDocument.FolderReferences property, which when properly enabled, allows you to see what folders a document is stored in.

To set this up you need first to copy two hidden views to the design of the database in question -- unless it's a mail database, in which case they are already there. These views are $FolderInfo and $FolderRefInfo. You can copy them from a Notes mail template from any of R5, ND6 or ND6.5 into your target database. Once you've done that, you need to turn on FolderReferences, which seems to be the point where these views are populated.


1  ·  2  ·  3  ·  Next »
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 > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
Home > Strategies > Document Management (14 articles)
   An application for scanning physical mail and distributing it virtually
   Evaluating your Domino Document Manager (Domino.Doc) transition options
   What to look for in a Domino-based document management solution
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
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
DominoPower TV Episode 1: Inside a strategy session with Teamstudio
More about Domino log files
Say goodbye to the Uh-Ohs. Long live the Tens.
Why your log.nsf might not be purging properly
Latest Lotus Headlines
SnTT: XPages Blank Calendar Control (Part 2), adding data
Have your Lotus Notes calendar display multiple time zones
Sample Database for Microsoft Office and Lotus Symphony Integration
Symphony 3.0 beta signals another attack on Office
Enabling DAOS on a database - new recommendation
Need your opinion on some new policy settings for Mail
Sometimes IBM Lotus Domino HTTP RPC Agents aren't the answer...
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Running auto-respond rules when Outlook is closed
-- Advertisement --

Power Tools 6.0 is a set of 90 administrative utilities for Lotus Notes & Domino
Power Tools simplifies management of the Notes/Domino environment by automating routine tasks. Power Tools can manage or monitor mail files, groups, ACLs, agents, LOG.NSF, templates and more.

Download a trial version from helpsoft.com.
-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


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