Wednesday, February 1, 2012

Exporting custom console commands to another Domino Administrator client


By Vladimir Tankhimovich

I am a big fan of custom console commands in Domino Administrator. Instead of remembering every command and every switch, I save them for future use. Figure A shows what my current list looks like.


Custom console commands I use (click for larger image)

Unfortunately, there is no obvious way to export the list to another Administrator client. I have been manually recreating my custom commands for years for every new PC and every new job. "Not this time," I said to myself, when I got a shiny new Windows 7 desktop to replace my ailing XP machine. After some digging, I found how to do it.

Custom commands are stored in the local "Domino Administrator" database (domadmin.nsf). First, create a workspace icon for the database using Ctrl-O as shown in Figure B (you will have to type in its file name -- the database is not shown in the "Open Application" list).


Bookmark "Domino Administrator" (click for larger image)

Double-clicking the database icon will not do you much good. It'll show you "Welcome" page that you see when open Administrator client for the first time. To see documents, right-click the database icon and select "Go To..." menu item as shown in Figure C.


Navigate to "Go To..." (click for larger image)

Select the "Main" view as shown in Figure D.


Select "Main" (click for larger image)

In the view, as you can see from Figure E, select "FreqCommands" document and copy it into the same view on another machine.


Copy selected documents (click for larger image)

If you use custom server groups in local names.nsf to send console commands to multiple servers, you may want to copy "CommandGroups", too. Make sure your new machine's local address book has those groups.

Note: You might want to copy domadmin.nsf from the old machine to a different directory on the new one beforehand for easy document copying.

Now restart Domino Administrator on the new machine, and you will see your custom commands and server groups in pop-up lists.