Creat Agent through LotusScript

How can we create Agent through LotusScript? Or is it possible through c++ api?

In the Lotus Notes version 7.0 there are methods like

database.createAgent(); in the same way is there any method available in the version of 6.5.4

Subject: RE: Creat Agent through LotusScript

Via DXL import, yes, but if you say more about what you’re trying to achieve there might be an easier approach.

Subject: RE: Creat Agent through LotusScript

Is it possible DXL import from windows application by using domino objects dll.

I suppose so… but still don’t understand why you want to.

I have created agent manually and attach the event ‘after receive an mail’ and added

script which export email contents to other application. My intention is to trap new mail

arriaval and export the contents to other application

By “other application” I suppose you mean the Windows application you mentioned in the first line. It’s a little vague what you mean by “export email contents to other application.” Why do you feel that this requires you to write LotusScript code that creates an agent? You just write an agent – using LotusScript if you like, or Java – and put the code to export your data in that agent.

Any more detailed answer thant that, would require that you explain what exactly you’re trying to do.

Subject: RE: Creat Agent through LotusScript

Here is the scenario:

An user running Sales Application, which dealing with his customer. If any customer in his database send email to his address, he wants to be viewed in his Windows Sales Application. He doesn’t want to go to Lotus Notes.

My Solution:

Instead of open Lotus Notes and create an Agent. I would like to have a AgentInstaller option in that Sales Window Application, which will create several agents in one stroke by user itself.

I think you will understand my requirement.

Subject: RE: Creat Agent through LotusScript

The Sales application could in theory create agents in the user’s Notes mail file, but unless Notes is open, any agents could only execute on the server. How would a server agent push information to a workstation that might or might not even be turned on?

Instead, use COM in the Sales application to open the user’s Notes mail file and extract the information you want. You can periodically poll for new messages.

Subject: RE: Creat Agent through LotusScript

Thanks for your suggestion.

Subject: RE: Creat Agent through LotusScript

Hi Andre

Thanks for your suggestion. Is it possible DXL import from windows application by using domino objects dll.

I have created agent manually and attach the event ‘after receive an mail’ and added script which export email contents to other application.

My intention is to trap new mail arriaval and export the contents to other application