Code Fix: Setting an Expression mapping on a control results in a JavaScript error

  • 16 February 2021
  • 0 replies
  • 12 views

Badge +6
 

Code Fix: Setting an Expression mapping on a control results in a JavaScript error

KB001860

PRODUCT
K2 smartforms 4.7
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 using the Rule Designer to set the mapping for an expression on a control, results in a JavaScript error when finishing the rule. The rule is marked with the dependency icon (badged) at this point.

Error Message
Uncaught TypeError: Cannot read property 'selectSingleNode' of undefined.

Cause
The expression mapping error was caused by a caching issue.

 

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Install the K2 4.7 February 2017 Cumulative Update.
  3. Get the K2 4.7 February 2017 Cumulative Update FP7 from Regional Support.
  4. Install the K2 4.7 February 2017 Cumulative Update FP7 to apply the fix.

 

 


0 replies

Be the first to reply!

Reply