0 pts.
 Lotus Notes 5 – Folders and Multiple Local Replicas
First thanks to madkahuna for the link in his reply to the "Lotus Notes 5" question of 14th February. I found the "Detach Move and Link" Agent in the "Sandbox" which does exactly what myself and many colleagues have been looking for several years! Now I have a couple of related questions. First, along with most people, I file my Emails into Folders and in some cases multiple Folders. But I cannot find any way of reporting (let alone editing) in which Folders a particular Email is filed. Can anyone help me out with an Agent, example C++ API code, etc.? Secondly, I have 2 PCs both with local Replicas of my Email database. They work fine, except that when I file an Email on one PC into a Folder it does not (usually) get removed from the Inbox - although it is visible in the Folder! I then end up having to file it again on the second PC and am always worried (particularly if I originally filed it in several Folders) that I will end up with the Email misfiled. Has anyone come across this and got a solution? Out Support people have suggested it is something to do with the PC times being different, but as they are both running Windows 2000 and are synchronised from a Server, they cannot really be any better synchronised! I currently have v5.0.8 of Notes. Thanks

Software/Hardware used:
ASKED: February 15, 2005  12:07 PM
UPDATED: February 17, 2005  6:06 AM

Answer Wiki:
Forgive me if I'm stating the obvious... The replication settings of the local replicas (on different machines)...have you got both "Send Documents to Server" and "Receive Documents from Server" checked? I have users that have laptops at home, an office workstation, a work laptop, and as long as each local replica is set as above, all their folders look the same. The unread marks sometimes get messed up, but that's all.
Last Wiki Answer Submitted:  February 15, 2005  12:41 pm  by  Nick   0 pts.
All Answer Wiki Contributors:  Nick   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Henry, are you sure it’s the inbox you’re having a problem with? We only run into this problem when filing mail from the SENT folder. Notes will not move mail from that folder. After you’ve file something from the sent folder, you must try to delete it from the sent folder. Notes will then ask if you want to REMOVE or DELETE it. You pick remove, and it removes it from the sent folder view.

 0 pts.

 

As to your question about finding out which folders an e-mail has been moved to check out this thread on LDD

Notes/Domino 6 Forum : RE: Which folder a document is in after searching All Documents
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/2975676b020eb32d85256d7c007cb1f2?OpenDocument

This is a LotusSctipt code from the desinger help that a couple of people have discussed. What they are talking about does impact performance if you want this tracking enabed.

IF this will not work for you then you would have to look at either a C or C++ API app. There is a program that ships with ND6 called swift file that if installed will give you three options for filing a document into a folder within your mail file based on how you have moved the document based on the senders name, subject line as a criteria.

Hope this helps

 0 pts.

 

For your first question about to find where a document is filed, you could create a button in your form and paste the LotusScript (V5) code below…
And sorry for your second question, no idea yet !

Dim session As New NotesSession
Dim ws As New notesuiworkspace
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim Child As NotesDocument
Dim grandChild As NotesDocument

Set db = session.CurrentDatabase
Set uidoc=ws.currentdocument

sListe = “”
Forall vueoudossier In db.Views
If vueoudossier.IsFolder Then
Set view = db.GetView( vueoudossier.Name )
Set doc = view.GetFirstDocument
While Not(doc Is Nothing)
If doc.YOURFIELDSUBJECT(0) = uidoc.FieldGetText( “YOURFIELDSUBJECT” ) Then
sListe = sListe + “DOSSIER : ” + vueoudossier.Name + Chr(10)
End If
Set doc = view.GetNextDocument(doc)
Wend
End If
End Forall
If sliste “” Then
Messagebox “This document is filed in : “+ Chr(10) + Chr(10) + sListe , 64, “Use control”
Else
Messagebox “This document is not filed”, 64, “Use control”
End If

 4,075 pts.

 

Thanks for the replies to date.

Yes, I do have Send and Receive ticked for both Replicas.
Yes, my problem is with the Inbox.

Any further thoughts on the Replication?

I have not yet had a chance to try out the suggestions about Folders.

 0 pts.