Search DominoPower's 10,675 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 (95 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Troubleshooting an OpenSuse Notes install
Home > Strategies > Document Management (11 articles)
   Understanding Domino.doc end-of-life options
   Integrating a Notes Connector database with Google Enterprise Search
   Integrating Notes content with Google Enterprise Search
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
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

PDF Conversion for Lotus Notes
Convert Lotus Notes documents to PDF for sharing, archiving or web printing.

  • 1-step PDF: As easy as clicking a Lotus Notes toolbar icon
  • Archive email folders or views as a self-contained PDF
  • Convert any document collection into a PDF file
  • Produce print-quality output from Web applications
  • Client side or Server side conversion
  • Doesn't require any DLL files
  • LotusScript API for developers


Ready to learn more?
-- Advertisement --

Easy Domino Access: Remove Passwords, End Login Prompts, Reduce Password Management
PistolStar's Password Power provides browser-based single sign-on to Lotus Domino, Sametime and Quickr with the enhanced security of the Kerberos or NTLM authentication protocol.

  • Full support available for NTLM authentication protocol in non-Active Directory environments
  • Seamlessly integrate Microsoft Active Directory and the Kerberos authentication protocol
  • Leverage Active Directory password policies to unify Lotus applications


Learn more about Password Power's powerful, advanced functionality.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login