Notifications

237 views

Symptoms


some variables on the catalog item are not showing up when we order the item

Release


London

 

Cause


The use of both setDisplay and setVisible methods for the same variable.

 

Resolution


In a client script, two methods are used to hide and show the variable.
 
g_form.setDisplay and g_form.setVisible.
 
Both the methods perform the same functionality (hiding/showing the variable) expect that one will leave the space black and the other will allow other variables to occupy the space.
 
Undesirable behavior will be experienced if both the methods are used on the same variable.
 
Please use one of the methods to hide/show the variables to resolve the issue.
 
Please refer to this documentation for more details on g_form methods,
https://docs.servicenow.com/bundle/kingston-application-development/page/app-store/dev_portal/API_reference/GlideForm/concept/c_GlideFormAPI.html#r_GlideFormSetVisible_String_Boolean
 
 
The reason this undesirable behavior is experienced in London is that a new performant g_form was introduced from Kingston version and so this undesirable behavior is seen.

 

Article Information

Last Updated:2018-10-15 07:20:36
Published:2018-10-15