I have a user that re arranged a whole load of folders and now can’t remember where some of his emails are. He can see them in the all documents view but wants to know which folder they are located in.
From the all documents view (or any other way) Is there a way of finding out exactly what folder within your mailbox an email resides in? I had a look at the properties of an email to see if it gives you the folder location but it doesn’t seem to give that info.
Subject: All Docs View - Is there a way of telling what folder an email resides in?
HiLook at the Action “Folders” in the “All Documents” view and click on “Discover Folders”. That gives you a list of all folders where you can find the highlighted document.
Subject: RE: All Docs View - Is there a way of telling what folder an email resides in?
It would be much better if they were to add that as a view column somehow. That’s practically the #1 question I always get from our users – “What folder is this email in?” Having it as a column in, say, All Documents, would be a nice touch. Having to go click a button / run an agent will stop some of that… but it would still be nice to have it as a column as I’m sure our users are about as lazy as everyone else’s.
Subject: All Docs View - Is there a way of telling what folder an email resides in?
Try this LotusScript agent…
Dim session1 As NotesSession
Dim db1 As NotesDatabase
Dim note1 As NotesDocument
Dim uidoc1 As NotesUIDocument
Dim ws1 As NotesUIWorkspace
Dim selected As NotesDocumentCollection
Dim key As String
Dim members As NotesDocumentCollection
Dim testdoc As NotesDocument
Dim title As String
Dim found As String
Sub Initialize
Set ws1 = New NotesUIWorkspace
Set session1 = New NotesSession
Set db1 = session1.CurrentDatabase
Set selected = db1.UnprocessedDocuments
Set note1 = selected.GetFirstDocument
'For each selected document, get its unique id
While Not (note1 Is Nothing)
key = note1.noteid
Title = note1.Subject(0)
Found = "no"
'Start going through folders, looking for a document that matches
Forall v In db1.Views
If v.IsFolder And v.name <> "($Inbox)" Then
Set testdoc = v.getfirstdocument
Do While Not testdoc Is Nothing
'If it's found, go on to next document
If testdoc.noteid = key Then
Msgbox title & " is in folder " & v.name
found = "Yes"
Exit Forall
End If
Set testdoc = v.getnextdocument(testdoc)
Loop
End If
End Forall
If found = "no" Then
Msgbox title & " is not in a folder"
End If
Set note1 = selected.getnextdocument(note1)
Wend
End Sub
Just select the document you want to find, and it will tell you which folder it is in.
It has been around awhile, but I seem to remember I had it before Notes 7, so should work on Notes 6.
Subject: RE: All Docs View - Is there a way of telling what folder an email resides in?
First expand your folder list. Then, under All Documents view (or other view), highlight your e-mail and then press the “Insert” key.
Hitting the “Insert” key will switch an e-mail between Read and Unread. This Unread status will also be indicated by the bold number next to the folder.
By pressing the Insert key several times, you should be able to spot which folder the e-mail is located in.