SearchTask.fileId

Property Description

ID of the CSV file to export search results into.

Note:

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

Type

number

Module

N/task Module

Since

2017.1

Errors

Error Code

Thrown If

UNSUPPORTED_COMBINATION_OF_PARAMETERS

Both this property and the SearchTask.filePath 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.fileId = 18;
...
//Add additional code 

        

Related Topics

General Notices