Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Getting result values off of a search resultset, getValue method fails
EDIT:
Problem gone. In my saved search there were a couple of lines where these 2 custom fields were empty, which resulted in every line of that column being empty when I tried to retrieve it through code, once I filtered away these in the saved search, the problem was gone and I retrieved values as intended.
Sorry for the both vague and redundant topic title but that's the best way I can describe the problem in 1 sentence.
I am currently running a saved searched through code.
var savedSearch = 'customsearch602'; // id-string var mySearch = search.load({ id: savedSearch }); var resultset = mySearch.run(); var results = resultset.getRange({ start: 0, end: 1000 }); // resultset returned as an array