Sridhar
Sridhar

Reputation: 23

Developing a lotus notes database to read info of another database

I am trying to develop a lotus notes database which can connect to another notes database and extract all the information like forms count, views etc.

Any suggestions on how to proceed? Thanks

Upvotes: 0

Views: 1091

Answers (2)

Meenakshi
Meenakshi

Reputation: 1

Need to use webservice for this requreiment.

Upvotes: -1

Ben
Ben

Reputation: 7597

If you need to extract design information from a Notes database, you can do this with Lotusscript or Java code.

The starting point would be a NotesNoteCollection (Lotusscript) / NoteCollection (Java) instance. You can read about this class, and the methods / properties available to you, in the Designer help file. Note collections can be used to extract documents as well as all design elements. Here's some sample Lotusscript:

Dim session As New NotesSession
Dim db As NotesDatabase

Set db = session.CurrentDatabase

Dim nc As NotesNoteCollection
Set nc = db.CreateNoteCollection(False)

nc.SelectForms = True
Call nc.BuildCollection

You now have a collection of Notes forms, which you can iterate / manipulate as you see fit.

Upvotes: 3

Related Questions