gpt4 book ai didi

xpages - :viewJsonService only returns 10 rows

转载 作者:行者123 更新时间:2023-12-02 07:27:22 26 4
gpt4 key购买 nike

我使用 viewJsonService 从 Notes View 中检索行,但只返回前 10 行。我没有为“searchMaxDocs”指定一个值,但即使我输入的值大于 10,我仍然只获得返回的 View 的前 10 行。

    <xe:restService id="restServiceEvents" pathInfo="getEvents">
<xe:this.service>
<xe:viewJsonService defaultColumns="true"
viewName="vwEvents" var="eventRow">
</xe:viewJsonService>
</xe:this.service>
</xe:restService>

这个限制是在其他地方定义的吗?如何从 View 中检索所有行?

最佳答案

将属性count设置为“100000”。它将交付所有文件,至少前 100000 份。

        <xe:viewJsonService defaultColumns="true"
viewName="vwEvents" var="eventRow" count="100000">
</xe:viewJsonService>

关于xpages - :viewJsonService only returns 10 rows,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49169775/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com