does anyone have a list of valid values for 'sourc...
# suitescript
d
does anyone have a list of valid values for 'source' in
serverWidget.addField()
? if possible, I want to be able to allow the user to select a Saved Search
b
same options as the
List/Record
when you create a custom field
i personally set the field in the ui and use nlapiGetFieldValue to get its internal id value
d
thanks 🙂 also, if you use Chrome, "NetSuite Advanced Field Help" is good for grabbing values from forms
b
im too set in my firefox ways
s
Right clicking in Chrome on the list/record drop down in edit mode and pressing inspect usually shows you the internal data structure used to populate the dropdown in the ui
Good for grabbing the full list