Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET and Lotus Notes Interop

I've Lotus Notes database file (.nsf) at some location, let's say: http://intranet.mycompany.com/somewhere/data.nsf

Is it possible in any way to read from that location using any .NET language?

like image 324
rafek Avatar asked Oct 13 '09 07:10

rafek


3 Answers

Take a look at these resources:

  • http://www.ibm.com/developerworks/lotus/library/domino-msnet/index.html
  • http://www.codeproject.com/KB/cs/lotusnoteintegrator.aspx
  • http://www.builderau.com.au/architect/database/soa/Create-an-ODBC-connection-to-a-Lotus-Notes-database/0,339024547,320282240,00.htm
like image 125
Konamiman Avatar answered Sep 24 '22 01:09

Konamiman


  1. You can use the ReadViewEntries URL option and that returns data as XML --> http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/855dc7fcfd5fec9a85256b870069c0ab/63d772b44948d4848525704a003f6544?OpenDocument&Highlight=0,readviewentries

  2. You can use the COM classes to access the database. Actually the first link that @Konamiman posted covers both solutions --> http://www.ibm.com/developerworks/lotus/library/domino-msnet/index.html

like image 39
Carlos Avatar answered Sep 25 '22 01:09

Carlos


My humble opinion for those who face such a task would be not to bother with direct access to LN data (at least i haven't heard of any decent C# dev for Lotus Notes), but consider the following:

1) dump LN data into a relational database (IBM DB2, MS SQL Server etc.) with the help of LEI (Lotus Enterprise Integeration) or a custom tool, where you can use it any way you want, say in ORM for ASP.NET, even bi-directional. This makes sense when you migrate or have a schedule for data exchange.

2) for lesser amount of data with sporadic access i'd develop a WebService or some in the Lotus Notes database.

like image 28
le_concepteur Avatar answered Sep 24 '22 01:09

le_concepteur