Question : Viewing of DXL files in Notes Client.

I have a requirement to be able to open an exported content of Notes email ( DXL ) to be opened uisng Notes Client. I used the DXLExporter class in Java/Corba toolkit  to create this file.

What/How do I make this file open using Notes Client( assuming Notes client recognizes the format, since it was exported ). Or are there any other ways that the I can view this exported DXL.

Answer : Viewing of DXL files in Notes Client.

For local calls:
- you don't need CORBA.
- the classpath must include Notes.jar (for local calls).
- path has to include Lotus\Notes dir.
- the interfaces in lotus.domino package are implemented in package lotus.domino.local.

The local calls require that the NotesThread class manages threads (because NotesThread extends java.lang.Thread to include special init and term codes for Domino.
You have three options to execute threads:
- through inheritance
- through the Runnable interface
- through the static methods

To avoid password prompt (when accessing through the Notes ID) create session like this:

Session s = NotesFactory.createSession((String)null, (String)null, "password" )

Note that the ID file through you access session is specified in KeyFileName variable in first Notes.ini in path.


Hope this helps,
mb¤
Random Solutions  
 
programming4us programming4us