问题
I have an XPage linked to one of our databases which displays an history view of documents in this database. This view is categorized in the Notes client. I need to filter this data view by a value selected from a ComboBox, so I have limited the data to a single category by adding a parameter categoryFilter :" filter by category name".
The problem is that the display of the filtered view takes a lot of times then it appears to me a time error message.
N.B: The history view is very voluminous.
Can any one help me please to fix this problem. thank you.
@modified : 29/07/2016
when i use Filter by column value : i have just the first document Filter by column value
But when i use Filter by category name : i have a complete result Filter by category name
回答1:
Use "Filter by column value" instead of "Filter by category name".
Your source code should look like this then:
<xp:viewPanel
...
<xp:this.data>
<xp:dominoView
var="view1"
viewName=...
keys="#{javascript:sessionScope.categoryKey}">
</xp:dominoView>
</xp:this.data>
来源:https://stackoverflow.com/questions/38631364/xpages-filtering-a-view-data-source-using-the-keys-parameterfilter-by-categor