I thought I could do a search on the custom list b...
# suitescript
k
I thought I could do a search on the custom list but apparently custom lists aren't available for search?
b
im not really sure what you are describing, but you can do a search on the custom list type by searching the 'customlist' search type
k
ah ok, I'll try that, thanks!
b
or you can search the values of a custom list by doing a search using the scriptid of the custom list as the search type
k
that's even better
I tried doing the saved search in the UI because I usually just export them with the NetSuite: Search Export extension, but couldn't find Custom List in the search types to create in the UI
b
ive never found the options in the ui, but you can create the searches in code and save it and find the saved searches in the saved search list afterwards
k
Ok, now I'm getting the following error:
An nlobjSearchColumn contains an invalid column, or is not in proper syntax: value
Untitled
What are the columns available for a custom list search?
I got the field IDs from the xml of the custom list but apparently that's not what they're called in search
Maybe if I don't include any columns it'll just give me all of them...
b
create the search in script, save it, add the columns you want
👍 1
💯 1
save it, then load it again to see what the names are
although i think you are looking for the name and internal id
k
good idea, thanks!
Yup, it was name and internal ID 🙂
Thank you!!!