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.
getSelectOptions not working on Client Script
Hello all,
I've been trying to use .getSelectOptions on a custom select field in a SS2.0 client script, the method always seems to return an empty array so I decided to have a look at the code behind the method.
/** * Returns a list of available options on a select field. This API can be used on both standard and custom select fields. Only the first 1,000 available options will be returned by this API. Does nothing if this field is not a select/multiselect * @param {string} [filter] Will not filter if not present. * @param {string} [filteroperator] Supported operators are contains | is | startswith. If not specified, defaults to the contains operator. *
0