Document Collection

ALL ,I have a categoty view on first column as the category. Now I have to take handle of all the document in that category . I am doing getdocumentbykey . it is finding the category but I am not aware how to look up for the documents that category has .Is there any other way. I do;t want to make another view and document collection will work on the databse.Please let me know

Thanks in advance

Mike

Subject: Document Collection

Use GetAllDocumentsByKey(key, exact match) method instead of getdocumentbykey.

By using GetAllDocumentsByKey, you will get access to all of the docs present under a category.

Simply loop through the doc collection.

–Phani

Subject: RE: Document Collection

thanks a lot Dear . It’s working

Subject: RE: Document Collection

If you don’t care what order you get them in, GetAllDocumentsByKey will work. Otherwise, you will need to use a NotesViewEntryCollection, which has similar methods.