List Count Operator does not return the number of items selected on a list control

  • 16 February 2021
  • 0 replies
  • 103 views

Userlevel 5
Badge +20
 

List Count Operator does not return the number of items selected on a list control

kbt151760

PRODUCT
K2 Five
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 List Count Operator returns '0' as the count when there are multiple items selected on a list control.

 

Symptoms

When using 'List Count' operator on an expression to get the count of the selected items on a list control (i.e. multi-select control), the count will always return 0.

Resolution

List Aggregators including the 'List Count' Operator only work with List views. The List Count cannot be used to count the number of items selected on a list control.

We have a feature request submitted on ideas.k2.com to add the ability to use the List Count operator on list controls as well. Please vote for the following idea to increase the likelihood of this feature being added to a future update:
https://ideas.k2.com/ideas/APIT-I-825


0 replies

Be the first to reply!

Reply