Search code examples
clotus-noteslotus

How to get the list of views in (lotus) notes using C api


I looked through the available C-api for notes and couldn't find any API which will give me a list or views in the (notes)database which I've opened. I am coding in C.

Has anyone faced similar problem and knows the solution? (Any api/documentation I might have over looked?)

I have already seen the question @ How to get list of views from "mail" in Lotus Notes using .NET?... unfortunately, that doesn't help me.

Thanks..


Solution

  • NSFDbGetModifiedNoteTable can be used.

    STATUS LNPUBLIC NSFDbGetModifiedNoteTable(
    DBHANDLE hDB,
    WORD NoteClassMask,
    TIMEDATE Since,
    TIMEDATE far *retUntil,
    HANDLE far *rethTable);
    

    TIMEDATE Since should be set to the "beginning of time" and NoteClassMask should be NOTE_CLASS_VIEW

    More info can be found here