Advanced Filter of populate list control does not work

  • 24 February 2022
  • 0 replies
  • 37 views

Userlevel 5
Badge +20
 

Advanced Filter of populate list control does not work

KBS100027

PRODUCT
K2 blackpearl 4.6.11
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The rule "populate list control with cache data" was configured. When using a simple filter, it works well. However, when using advanced filter, this does not work even no rules are changed. 

Since you cannot specify "OR" condition without the advanced filter, this error impacts on the application.

 

Symptoms

This is caused by the difference between how the simple filter and the advanced filter are evaluated.

 

The simple filter is able to resolve different data types (string and int) while the advanced filter matches data types to resolve.

 

The cached data rule was also creating an issue, because of the topology of the SharePoint list items and how the lookups were working.

Troubleshooting Steps

The evaluation of the filter was changed to only look at data types that matched and the functionality of the rule was changed to not use cached data.

It is also recommended to use a Smartbox SmartObject for all of the data that isn't needed on SharePoint because these calls will be much faster and reduce server load.


0 replies

Be the first to reply!

Reply