KeyView 24.1

# Lotus Notes Database (NSF) Metadata

In addition to the default metadata set, you can extract any Lotus field name that exists in an NSF file by passing the field's name. (You can extract fields from mail NSF files and non-mail NSF files.) If the name is a valid field in the file, the field is returned. For example, to retrieve the date a document in an NSF file was last accessed, you would pass the string "`$LastAccessedDB`".

NOTE: A complete list of NSF fields are provided in the Lotus Notes file `stdnames.h`. This header file is available in the Lotus API Toolkit.

To extract specific metadata fields from an NSF file, use the following method:

    ExtractGetSubFileMetadata(long docContextID, int sIndex, string[] metaDataName)

Pass the metadata names into the method using the `metaDataName` argument (the strings are not case sensitive).

For example, the following code extracts the contents of the `Description` and `Categories` fields:

    string[] metaDataName = { "Description", "Categories" };
    ExtractSubFileMetadata metadata = objFilter.ExtractGetSubFileMetadata(extContextId, subfileIndex, metaDataName);

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.1

Topic Title: Lotus Notes Database (NSF) Metadata