We will do few simple steps to allow DXL exporting like this
Let's create simple class for description of database location. We will use it as light database representation
Exporter class itself
Class for run a simple example
Do not forget
You need add to the java class path also few libraries to allow DCL exporter to work:
Good old
Lotus\Notes\jvm\lib\ext\Notes.jar
And
Lotus\Notes\jvm\lib\tools.jar
Lotus\Notes\jvm\lib\ext\websvc.jar
2 comments:
Hi,
I run this application from client machine and it is only exporting the metadata of database not the actual data.
What extra we need to do in order to get the actual data.
Hi,
You need to customize NoteCollection accordingly.
I customize it to extract only Design data. Please read Domino help file for NoteCollection.
For example, this code will select all documents for export
NoteCollection nc = database.createNoteCollection(false);
nc.setSelectDocuments(true);
Post a Comment