Hi,
I want to collect some information from domino directory.
Such as Title… etc, but I don’t know how to collect these information.
So, can anyone tell me how to create a agent to collect this information.
THX in advance.
Tommy.
Hi,
I want to collect some information from domino directory.
Such as Title… etc, but I don’t know how to collect these information.
So, can anyone tell me how to create a agent to collect this information.
THX in advance.
Tommy.
Subject: More details required!
Firstly, explain what you want to collect. “Such as Title… etc” just doesn’t do it for anyone!
Also, what do you plan to do with the collected information? Display it? Save it to somewhere else? Discard it?
Subject: RE: More details required!
Morten,
Actually I added a field named “SECTION” under domino directory.
And I want to capture the section mailbox information under domino directory for every users.
I will create a agents to collect the “section” information from domino directory and send a copy of the email to section mailbox automatically.
THX.
Subject: I guess I had it coming ![]()
I asked for more details, and I got it! But I still don’t understand what you are trying to achieve.
The statement “I added a field named “SECTION” under domino directory” just doesn’t make sense to me.
Did you add a field “SECTION” to the Person Form in the Domino Directory, and are you trying to capture the value of that field?
I don’t get the “… send a copy of the email to section mailbox …” part, either.
Sorry. Could anyone else interpret?
Subject: RE: I guess I had it coming ![]()
It sounds to me like he has added information about, like, what department (section) people work/belong in. And then wants to be able to create groups based on the department (section), and send e-mail out to those groups.Please forgive if I misunderstand!
Subject: RE: I guess I had it coming ![]()
I added a field named “SECTION” under domino directory Person:work/home to capture the department or section email address.
And I want to collect this field information for automatically copy the message to department/section mailbox even incoming or outgoing email.
I’m already created an agent, but currently the department/section mailbox is HARDCODE, so I want to enhance this agent.
Agent code:-
Sub Initialize
Dim s As New NotesSession
Dim db As NotesDatabase
Dim db2 As notesdatabase
Dim doc As NotesDocument
Dim nextdoc As NotesDocument
Dim dc As NotesDocumentCollection
Dim textvalue As String
Set db2 = New notesdatabase("SERVER","SECTION.nsf")
Set db = s.CurrentDatabase
Set dc = db.UnprocessedDocuments
Set doc = dc.GetFirstDocument()
While Not (doc Is Nothing)
Set nextdoc = dc.GetNextDocument(doc)
Call doc.CopyToDatabase(db2)
Call s.UpdateProcessedDoc(doc)
Set doc = nextdoc
Wend
End Sub
Sorry for my poor english.
THX in advance.