.NET and Lotus Notes Interop

社会主义新天地 提交于 2019-12-02 19:39:29
  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

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.

I'll assume that you're accessing the database over HTTP only, because this is how you provided its location. So, for the current and older versions of Domino server, you can access the different database elements using the Domino URL syntax which provide access to design elements in addition to data documents.

And starting with Domino 9, you can also access the data using REST requests using the Domino Access Services (DAS), which provide all the standard CRUD (Create, Read, Update, Delete) commands that you need, i.e. POST, GET, PUT, DELETE, and PATCH. Remember that you need to enable the database and its views to be accessed by DAS before you can run your requests.

The links provided give you all the information you need.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!