1176 views

Description

g_form.setValue does not work when used to set a value for a List Collector variable.

Steps to Reproduce

 

In an item: 
  1. Create a List Collector variable and set the attribute as glide_list true (example variable is referenced to sys_user table) 
  2. Create an onChange - Catalog Client Script
Example: 
function onChange(control, oldValue, newValue, isLoading) { 
if (isLoading || newValue == '') { 
return; 
 
//Type appropriate comment here, and begin script below
g_form.setValue("u_user","62826bf03710200044e0bfc8bcbe5df1");
  
// abel.tuter sys_id; 
// u_user is the list collector variable 
 
Observe: The value is rendered empty on update

Workaround

There is no known workaround for this issue. If you are able to upgrade, review the Fixed In field below to determine the versions that have a permanent fix. The problem was fixed in Jakarta and onwards.


Related Problem: PRB717058

Seen In

Helsinki Patch 0 Hot Fix 3
Helsinki Patch 4
Helsinki Patch 6

Fixed In

Istanbul Patch 7
Jakarta

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-02-02 00:34:37
Published:2018-02-02