Imran Azad
Imran Azad

Reputation: 1404

Extracting data from NSF database file - Domino

I have an nsf database file from a domino web application based on Lotus Domino version 6.5.

Any ideas on how I can extract the data? The data contains word,pdf and html documents.

Upvotes: 1

Views: 5839

Answers (2)

David Navarre
David Navarre

Reputation: 1022

You can download the Notes designer client from IBM with no restrictions as well as the Notes and administrator clients with a 90-day evaluation period. Then you should be able to access the data natively.

Upvotes: 2

Jasper Duizendstra
Jasper Duizendstra

Reputation: 2617

The word and pdf documents can be detached:

For a=1 To coll.count
     Set doc=coll.GetNthDocument(a)
     Set rtitem = doc.GetFirstItem("Body")
     Forall o In rtitem.EmbeddedObjects
        oname="c:\" + o.name
        Call o.ExtractFile( oname )
        Call o.Remove
     End Forall
     Call doc.Save(True, False)
  Next

The code above is just an example, the point is to find the embedded object and use o.ExtractFile( oname )

If the html documents are also attached files, you can do the same for those. If not, it is a different story.

Upvotes: 4

Related Questions