The first four parameters “dominoServer”, “dominoDatabase”, “idFilename” and “password” are clear. We can enter a server url to directly scan notes items from the server or – as shown above – we have a local NSF-file to scan. A typical idFile and a password are being used to authenticate.
Then it is getting interesting: “primaryDocumentFormat” and “secondaryDocumentFormats” configure the output format for the files being extracted. That means that the document can be formatted into DXL, HTML, EML and even PDF (all generations). This is extremely useful if you want to get rid of Notes and cannot furthermore use DXL-files. It is also practical for archiving and having a general format, which is also readable in years to come.
Additionally to the primary output, you can even have multiple additional formats, e.g. DXT, HTML and PDF.
Next, we have the “exportCompositeItems”. This can be even more useful if you want to have certain elements not only within a document but also or instead as an extra document. The best example is an email body: you can create a document for the email body only while using all the email attributes (to, cc, bcc, from etc.) as attributes. With this, you can get entirely rid of the original document, which might be an un-editable, legacy format but still keep all information in the new system. This way, you can edit and work on the document in the new DMS, create versions and so on.
Finally and not to forget, we have attachment handling. The scanner can export all kinds of attachments of an email or any other document. They can be handled as separate documents (with the same metadata of the related notes objects) or as embedded objects in a PDF. That means you can create a PDF document with all information, all attachments and even links and URL inside.
After we have scanned all documents and extracted them to the “exportLocation” we have all documents and attachments extracted on that given files hare. Now we can transform all information to a new level and create completely free and flexible new document structures, folder structures and a complete new metadata structure.