Document Library Paging doesn't work on List view when using the default GetDocuments method

  • 16 February 2021
  • 0 replies
  • 35 views

  • Anonymous
  • 0 replies
 

Document Library Paging doesn't work on List view when using the default GetDocuments method

kbt151066

PRODUCT
K2 Cloud
K2 Five
TAGS
SmartObjects
SmartForms Designer
SharePoint
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

Document Library Paging doesn't work on List view when using the default GetDocuments method.

Symptoms

 

In a situation where there are multiple pages returned, navigating to the next page will not update the list view data.

Resolution

This is a known issue: the GetDocuments method is deprecated and has known issues with paging. There is a new Method "Get Documents Metadata with Options" which works with paging.

Change the List View SmartObject to use the "Get Documents Metadata with Options" method. The fact that creating a list view defaults to use the GetDocuments method is a bug, it should default to the "Get Documents Metadata with Options" method. We have logged this bug and we will address this in the near future.


0 replies

Be the first to reply!

Reply