KnotKnick
07/18/2022, 2:49 PMNElliott
07/18/2022, 3:21 PMKnotKnick
07/18/2022, 3:24 PMNElliott
07/18/2022, 3:26 PMKnotKnick
07/18/2022, 3:28 PMMarvin
07/18/2022, 4:18 PMconst search_filters = mysearch.filters;
search_filters.push({name: 'field', operator: search.Operator.ANYOF, values: ['filter_value']});
mysearch.filters = search_filters;
mysearch.run().each(result => {
// parse into csv.
});
KnotKnick
07/18/2022, 6:53 PMMarvin
07/18/2022, 6:56 PM.asMappedResults()
will put into an array that you can directly put into a parser like Papa parse.NElliott
07/19/2022, 8:50 AMlet myTask = task.create({
taskType: task.TaskType.SEARCH
});
Just throwing that out there in case that approach works for you.