Hey guys, does anyone know how to setup a multi se...
# suitescript
e
Hey guys, does anyone know how to setup a multi select field in a UE script? I have been able to use.
record.setValue('countries', ['US'])
in a client scirpt but I does not work on UE. SuiteAnwers just shows in a client script. The record is a payment method.
s
You would pass an array of the values..
the array would contain the internal ids of the fields you wanted to mark as ‘selected’.
e
Yes, I am passing ['US'] which is the internal is for United States but it does not work
s
US is the shortcode, but not the state internal id
e
@suitedev Do you know how to get the correct internal id?
s
Will DM you