[Custom field source data from saved search] Aim:...
# suitescript
d
[Custom field source data from saved search] Aim: Create a field using suitescript (suitelet) and source the values from a saved search I created a saved search that returns me a list of items based on some criteria. I want my field to use to this saved search as source. I tried the property addSelectOption but my field doesnt have the search behaviour like a standard item field on transaction form (Search by using %). Can anyone help me?
m
That behavior is driven by how many options you have added to the field, and the personal preference setting “Maximum Entries in Dropdowns”
l
Even your results exceed the maximum this behavior isn't available for drop down lists created using addSelectOption
m
Ah, sorry, you’re right. The system would have no way of offering a search function in that case. You could add nonsense entries if you want.
I really wish we could add filtering options to the native select source like we can for custom fields.
👍🏼 1