Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
multiselect fields Set Text
I'm trying to set a multiselect field via setText, and it's not working at all. The documentation says
If the field type is multiselect:
[LIST]
[*]This parameter accepts an array of string values.
[*]This parameter accepts a null value. Passing in null deselects all currently selected values.
[/LIST] but strangely it's not working at all.
here's the exact code im using
var prefBrands = customerRecord.getText({ fieldId: 'custentity135' }); eventRecord.setText({ fieldId: 'custevent32', value: prefBrands }); it's returning
[ "American Standard", "Moen" ] Has anyone else run into this? Am I missing something?
0