Code Fix: An error occurs on the Picker control when resolving a large number of users
KB002117
PRODUCTK2 Five 5.0
K2 Five (5.0) Fix Pack 1
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 Description
When configuring the Picker control to use a SmartObject's Get Users' method to return data, and the SmartObject contains a large number of users, an error occurs at runtime.
Error Message
The error message states “Index was outside of the bounds of the array.”
Resolution
- Ensure you have K2 Five installed.
- Get the K2 Five FP1 from Regional Support.
- Install the K2 Five FP1 to apply the fix.
- Refresh the browser cache.