How to install an agent in several Lotus dbs

I used LotusNotes Script to create an agent for a group in another business district of the company where I work. I received Manager access privileges from our system admin to copy the agent from my db to the other district’s db. Now I have several districts requesting the agent be put into their dbs. Is there a quick, easy way to install an agent in others dbs? The current plan is to obtain manager access privilege for the tens of dbs and then hand copy and paste the agent into each individual database. There has to be a better way! I am not a system admin type but I can relay instructions to that person. I asked our system admin if there was a better way to install the agent but was told that was the only method. Any suggestions / information on the topic are greatly appreciated!

Thanks in advance!!!

Subject: RE: How to install an agent in several Lotus dbs

Understandably, you can’t just add agents to others’ databases if you have not been granted access to do so.

It’s certainly possible to automate the process, if you have a list of the databases you want to put the agent, you could write LotusScript code that uses NotesNoteCollection to grab the agent’s design note, open it as a NotesDocument and copy it to other databases. This still requires access, of course. Plus, besides writing the agent, you have to enter the list of databases to be processed, so you aren’t really saving any work over doing it manually.

If all these databases share the same design, the usual way to distribute design changes is to have them inherit their designs from a common template (.ntf). Put your agent in the template and everyone will get it by way of the Design process.

Another way: create a button script that uses the NotesDXLImporter to import the agent from XML you have stored in a hidden field in a memo (or in a file attachment). You mail this button to the group of all the people who manage these databases, and tell them if they want to add the agent, click the button, which prompts them for the database to add it to. Then you can use the NotesDatabase.Sign method to sign it with their ID. Or, rather than using XML, the button could open your original database over the network, search for and copy the agent.

Subject: RE: How to install an agent in several Lotus dbs

In addition to previous comments you will find useful infromation in the Agent FAQ under “deploying agents” section in “Troubleshooting agents” article. It goes over signitures, enabling, and setting the server considerations when you deploy via templates. Agent FAQ is under resource on the right.