Is That An Admin Client In Your Pocket…

One thing I forgot to mention about IBM
Lotus Nomad is that it will only install from the standard ‘Notes Client’
installation files.  If you try the setup commandline on the Admin/Designer
client install files then it will just fail. So how do I go about getting
a notes admin client working on the USK Key, well it’s actualy very very
easy.

The differences between a standard notes
client install and the admin install are very few.  They are both
built on the same base package, indeed if you remember back to the R4 days
you didn’t even need to install anything else for designer access to databases,
it was already there and this is kinda still true today.

To turn your recently installed Lotus
Nomad client into a Lotus Admin Designer Nomad client you just need to
copy over 4 files to the USB Key :

admin.exe

designer.exe

events4.ntf

domadmin.ntf

That’s it, nothing more is needed.  Just
start up your Lotus Nomad client and you will see the icons for the Admin
and designer clients appear like magic in the bookmark bar.

—-

Oh and I keeep mentioning USB Keys when
talking about Lotus Nomad.  Well it will work with any removable drive.
As long as the OS sees it as a drive letter then even your iPod could carry
around your Lotus Nomad client and you’d probably have a lot more room
for creating local replicas…

Tagged with:
Posted in Uncategorized

IBM Lotus Notes Domino 7.0.2 Beta – NOMAD

After checking with the beta program manager
if blogging about the beta for IBM Lotus Notes/Domino is allowed I’ll be
updating this site with some of the great new features that will be in
the 7.0.2 release that is coming soon.

As usual this is beta software, features
may change between the beta and the final release, indeed some features
may even be dropped in the final release but I think Microsoft have the
market cornered for that trick.

One feature that I have been looking
forward to in this release of Lotus Notes is Nomad.  Announced at
Lotusphere 2006 as Project Wanda this feature allows you to install your
Lotus Notes client onto a USB key.  You can then put the USB key into
any windows machine and the Lotus Notes client will startup with all your
settings.

Setup for Nomad currently requires that
you run the setup from the commandline so that you can pass in a special
commandline parameter. If you have access to the beta and you have a USB
key to try it on then the command line is :

setup.exe /a /v"NOMAD=1 TARGETDIR=E:
/qb+"

This will do a silent install of the
client on the USB Key that is showing up in Windows as drive E.  If
your USB key is a different drive letter then just change the commandline
accordingly. The installation will take up about 340Mb on the USB Key.
I’d guess that in the final release the install proceedure will become
an option during the standard GUI install.

Once the install is done just remove
the USB Key and put it back in. if your system is setup to autorun from
USB Key’s then the autorun program on the USB Key will start and check
to see if Lotus Nomad has ever been used on the machine before, if it does
not detect any prior use on the machine then it will run a small installer
to setup a few entries in the registry and then start the Lotus Notes client.
 The initial startup of the notes client is a little slower then if
it was running from the harddrive but that is probably due to the speed
of my USB key and the speed of USB in general.

After that the Lotus Notes client just
runs like normal.  I could quit notes and move the USB key to another
machine and everything worked as if it was installed locally. I also had
the full notes client installed on one of the machine I put the USB key
into and the Lotus Nomad install did not interfere with the installed client
in any way. It was also nice to see that nomad worked perfectly when I
plugged the USB key into a Windows Vista beta machine.

Nomad really does do as it was designed
to do.  A truly portable install of Lotus Notes that is going to be
perfect for certain groups of people. I can see this being used by the
IT person who runs around the office all day fixing problems, they can
plug in anywhere and grab their next assignment, or maybe the consultant
who needs to plug in at a customer site to grab some files from a document
repository back at the office. What other uses can you think of ?

Tagged with:
Posted in None

Quickplace 7 and RSS

One of the problems I ran into when getting
RSS working with Quickplace 7 was that session based authentication didn’t
really work well with RSS. I could only get RSS working with Quickplace
sites that allowed anonymous access and even then I could only show items
that the user didn’t need to log in to see.  In a rich quickplace
environment the solution wasn’t really worthwhile but as an experiment
of integration it worked quite well.

With information on version 7.0.2 of
Lotus Domino starting to
trickle
out of the hallowed halls of IBM one small peice of information caught
my eye. In Domino 7.0.2 if you have session based authentication turned
on it is still possible to turn on basic authentication for certain URL’s.
While I have no information on the type of URL it does seem to me that
this new feature could mean that RSS feeds for Quickplace could now be
a possibility.

Maybe an updated version of Quickplace
is also on the cards for release soon…

Tagged with:
Posted in Uncategorized

Drag And Drop Magic

Ok, it’s not magic but it’s really handy to know… The other week I was asked if it was possible to move an email message from any folder in a users mailbox to a special archive database just by having the user drag and drop it into a special folder that would be added to their mailfile. Here’s what I came up with…

The first step in this proceedure was to create a copy of the standard mail template and then add a new folder to it. You can call this folder anything you want except ‘Archive’, If you call it Archive then something else happens when you drag and drop an email message into it.. Once you have added the new folder you can either add it to the standard outline or do nothing with it to allow Lotus Notes to list it under the folders section of the outline.

Now you need to open the design of the ($Inbox) folder and find the QueryAddToFolder event and add in the following code :

Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant) Select case Target ' This is the name of the extra folder added to the users mailfile Case "Quick Archive" Dim s As New NotesSession Dim thisDB As NotesDatabase Dim thisDoc As NotesDocument Dim thisDocColl As NotesDocumentCollection Dim nextDoc As NotesDocument Dim targetDB As NotesDatabase Set thisDB = s.CurrentDatabase Set thisDocColl = Source.Documents ' This is the destination database. Set it to whatever location you want. Set targetDB = s.GetDatabase(thisDB.Server,"Archivedocs.nsf",False) Set thisDoc = thisDocColl.GetFirstDocument While Not thisDoc Is Nothing Set nextDoc = thisDocColl.GetNextDocument(thisDoc) Set targetDoc = targetDB.CreateDocument Call thisDoc.CopyToDatabase(targetDB) ' Remove the comment from next line if you want to delete the original document from the mailfile ' call thisDoc.RemovePermanently(true) ' Set the next line to TRUE if you want to actually move the document into the folder as well as move it to destination DB continue = False Set thisDoc = nextDoc Wend End Select End Sub
This LotusScript was converted to HTML using the ls2html routine,
provided by Julian Robichaux at nsftools.com.

As you can see from the code there are a few options depending on if you want the original email message to disappear from the users mailfile or not.

Now, as the code has only been added to the ($Inbox) if you replace the design of the users mailfile with this new template then only email that are dragged from the users Inbox to the new folder will be effected. If you want to make sure that the changes are pushed out to every folder in the users mailfile then you need to use the convert command on the server console to update the users mailfiles. At the server console type the following :

TELL ROUTER QUIT

LOAD CONVERT -u MAIL* * newtemplate.ntf

LOAD ROUTER

The -u on the convert line will tell the convert process to replace the design of folders with the design of the ($Inbox) which will make sure the new code above is now part of all existing folders in the users mailfiles. Any new folders created by the user after this process will always have the design of the ($Inbox) folder by default.

By using more ‘cases’ in the ‘Select Case’ block then this code could be expanded with different folders that do different things when documents are dropped into them and this is not restricted to just mailfiles. You could add drag-drop code to applications, maybe in a case tracker system you could have a folder that if anything is dragged to it the case is closed and it and all related documents are moved to the archive. The possibilities are endless.

Posted in None
Archives