SearchTask.filePath

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

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

General Notices