I use this administration agent in my databases to quickly change the “run on” server for all f the scheduled agents when I deploy a template to a new server.
The other approach I use is to have the agent “run on all servers” but to then have each agent check for a configuration document in the database which then lists which servers it is allowed to run on. If the current server is not in the configuration document then the agent exits.
Sub Initialize Dim session As New NotesSession Dim ws As New notesuiworkspace Dim db As NotesDatabase Set db = session.CurrentDatabase Dim askme As Variant
askme = ws.Prompt (PROMPT_OKCANCELEDIT, _ “Suggested Server”, _ ” You must use the format CN=….” ,db.server) If Not Isempty (askme) Then Forall a In db.Agents If Not a.servername = “” And Not a.servername = “*” Then If a.servername = askme Then Print a.name + ” already set to run on chosen server” Else Print “changing ” + a.name + ” from ” + a.servername + ” to ” + askme a.servername = askme Call a.save End If End If End Forall End If End Sub
I installed Noteshound 7.1.0 on my machine yesterday with Notes 8.0.2. when I went to restart Notes it wouldn’t work. Worse still a standard un-install and re-install didn’t work either so I had to go and delete the folders manually – all in all I lost a couple of hours of work time.
I put in a support request to Noteshound and Ken Haggmann came back very quickly this morning. After some troubleshooting he deduced that the “Install right-click option” was causing the problem. This adds the following line to the notes.ini file
Once this line is removed Notes can be restarted although the Noteshound right click option will not be available.
The right-click option is installed by default
It does make you think that with so much change going on with the Notes clients at the moment that it must be a challenging time for ISVs who are integrating deeply into the Notes client as opposed to using standard Notes functionality
I have added an agent called “Create documents for Image Resources” which will cycle through the design elements and create a Notes Document for each of the image resources – this then allows them to be displayed in the view. I have also added two views for this purpose, the first is a flat view and the second a twistied view where the categorisation is based on the image resource name
The code is in the .lss file at the end and I have also added a copy of Martins database with the agent added.