cdd006
作者cdd006·2016-04-26 09:36
软件开发工程师·中国江苏

NotesView.GetAllDocumentsByKey returns incorrect results

字数 1066阅读 839评论 0赞 0

Technote (troubleshooting)

Problem

GetAllDocumentsByKey returns incorrect results with multiple view categories.

Symptom

The LotusScript method NotesView.GetAllDocumentsByKey does not return correct results when used against a view which contains two or more categorized columns. The method only returns documents which show up within the first category of the second column. The method should return all documents that match the first column, regardless of the second column value.

Cause

This has been identified under APAR LO61203, which is closed as "Software Limitation".

Environment

All platforms.

Diagnosing the problem

Create a view with two columns with the properties Sort:Ascending and Type:Categroized. Create an agent to Call NotesView.GetAllDocumentsByKey; and check the count of the resulting collection. The document collection only contains documents from the first categories of the second column.

Resolving the problem

This is to be fixed in a future release. Users are advised to use workarounds, such as a hidden view with uncategorized columns, or FTSearch.

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广