Investigate notes:// links.
You are sending out emails that contain Notes links to other email systems. The router converts them to notes:// links (and with a little help even into good looking HTML mails). However when you click the document in your target database doesn't open, even if you have a Notes client installed. Now you need to investigate what is happening. These are the steps:
- Open your windows registry using regedit
- Look for HKEY_Classes_Root\Notes, which is the protocol handling definition for Lotus Notes. It should look like this:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Notes] @="URL:Notes Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\Notes\DefaultIcon] @="C:\\Notes\\notes.exe,0" [HKEY_CLASSES_ROOT\Notes\shell] [HKEY_CLASSES_ROOT\Notes\shell\open] [HKEY_CLASSES_ROOT\Notes\shell\open\Command] @="\"C:\\Notes\\notes.exe\" -defini \"%1\""
Note, that your path to the Notes location might be different. - With this fixed Notes will pickup Notes URLs and display them correctly. However there are more possible caveats. One could be the Notes URL in the email, the other the way the email application is calling the Windows function to launch Notes
- The syntax for a Notes URL is notes://servername/database/view/documentuniqueid (For a full description see the online help). If you omit the documentuniqueid Notes will open the view (the view can be specified by name or by unid), when you omit documentuniqueid and view Notes will open the database.
- When you create a link from a local database the server name is missing, so the Notes URL has a triple slash notes:///database/.... The Notes client will look for it locally. If the database is not local (or on the desktop) it will throw an error. With a little help you can force server names even if the database was created locally.
- Sometimes the mail application isn't calling the notes url properly. This is a little harder to investigate. You need to edit your registry to point the URL protocol to something else than notes.exe, so you see what is exactly handed over at the command line (You backup your registry, isn't it?). I've written a small Java class that can do that for you. So instead of @="\"C:\\Notes\\notes.exe\" -defini \"%1\"", you would write: @="\"java.exe\" C:\\temp\\CommandlineSpy.class \"%1\"". The little class will spit out a prompt with the URL handed over to the OS.
import java.awt.Frame; |
Java2html |
Posted by Stephan H Wissel on 25 February 2009 | Comments (5) | categories: Show-N-Tell Thursday