Bug in GetAllEntriesByKey?

I have tried using “GetAllEntriesByKey” and it only returns one entry in the view collection, even though my view has several entries whose first column match exactly my key (array of strings, one element).

Is this a known bug or does anyone know what I might be doing wrong?

Thanks,

Beth

Subject: Bug in GetAllEntriesByKey ?

Is your column sorted? Otherwise it won’t work correctly …

Subject: Bug in GetAllEntriesByKey ?

Thanks for your responses. It was sorted and I was using exact match, but the problem (I think) is that the view is heirarchical. There isn’t anything specific about heirarchical views and using methods that rely on sorted views that I could find in the documentation, but my guess is that’s why it didn’t work. I have since changed my logic around completely because it had depended on using that method AND the view being heirarchical.

Thanks again,

Beth

Subject: RE: Bug in GetAllEntriesByKey ?

I believe that you are right, Beth. I ran into the exact same scenerio. It is frustrating and I now have to develop on a work-around.

Subject: Bug in GetAllEntriesByKey ?

This situation may be if the second column in this view is Categorized. Domino return entries only from first category of the second column.If you change type of the second column to Standard, Domino return all entries.

Subject: Bug in GetAllEntriesByKey ?

First. Check if it is sorgted. Also check if the flag “exact match” on the method is set to true or false.