Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
How to keyword search a custom record field?
I have a suitelet which does a keyword search on a custom record I created and returns the details as JSON response. I have created a long text field on the custom record which contains the text of all the fields that I want included in the search (with all HTML removed).
I have tried using "contains" and "haskeywords" search filters but they never work when more than one keyword is entered. So i figured the keywords string needs to be split in tokens and each token applied as a nlobjSearchFilter. This kind of works for "contains" but not "haskeywords". The search filter seems to only search the first 100 characters of the long text field. The docs say the first 4000 characters are used? Is this a bug?