Jim Coyne
Kilo Patron

When clearing a Reference catalog variable in a script, DO NOT use the


g_form.clearValue('fieldName')
method - it will not hide the Reference Icon, nor reset the mandatory field flag to red, possibly leading to confusion. Use

g_form.setValue('fieldName','')
instead.

find_real_file.png

Using

clearValue
will also mess up your UI Policies, so make sure you do not use that method on Reference variables.

1 Comment