Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
How to resolve ReferenceError: "search" is not defined
Hello,
I'm new to SuiteScript and trying to load a Saved Search using the this code:
var qualitycontexts = search.load({
id: 'customsearch36183'
});
var result = qualitycontexts.run();
result.each(function (results) {
I have included N/search. But I get the error ReferenceError: "search" is not defined.
Anything else I should do to use search.load?
Thanks,
Bryan
Tagged:
0