SearchTask.filePath

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

Path of the CSV file to export search results into.

Note:

Either this property or the SearchTask.fileId property must be set. If both are set, an error occurs.

Type

string

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/task Module

Since

2017.1

Errors

Error Code

Thrown If

UNSUPPORTED_COMBINATION_OF_PARAMETERS

Both this property and the SearchTask.fileId property are set at the same time.

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/task Module Script Samples.

          //Add additional code 
...
searchTask.filePath= 'ExportFolder/export.csv'
...
//Add additional code 

        

Related Topics

task.SearchTask
N/task Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices