Hello everyone. Is it possible to source a Saved S...
# general
u
Hello everyone. Is it possible to source a Saved Search onto a Suitescript 2.0 form.addField method? I've tried adding the search's ID in the source parameter of the method, to no avail. Any and all inputs appreciated, thanks!
b
no, serverwidget fields act like the fields you can add in the ui
whatever source you can select in the ui is basically what you get in script
run the search yourself and use Field.addSelectOption to add your select options
1
u
Ah, I see. Thanks for this!