How can I adjust the filters of a search that I lo...
# suitecommerce
t
How can I adjust the filters of a search that I load in script? Appending the filters object results in an error
s
What kind of search? A SuiteScript 1.0 search?
w
for 1.0 there is a nlobjSearch.addFilters() and nlobjSearch.addColumns(), the equivalent for 2.0 are Search.filters and Search.columns
t
2.0 search. When I append Search.filters I had an error, something fairly obscure in the object code
I ended up just coding the whole thing, but would be nice to know for future usage