There is no API for a folder architechture because there really is no folder architecture. Nested folders are an illusion just based on the name of the folder. I.e., the folder name "folder1\folder2" indicates that folder2 appears to be inside folder1, but the structure is flat as far as all APIs are concerned.
The NotesDatabase.EnableFolder()
method will create a folder. (It's a dumb name for the method!) Existing folders can be accessed via NotesDatabase.GetView()
method because from the high-level API point of view Folder and Views are treated as equals. The NotesView.Remove()
method can be used to delete a folder. The NotesView.Name
property is read/write.