DocumentCaptureTask.outputFilePath
|
Property Description |
The path of the JSON file to export document capture results to. The JSON file must be located in the NetSuite File Cabinet. For an example, see Extract Content from a Document Asynchronously. |
|
Type |
string |
|
Module |
|
|
Parent Object |
|
|
Sibling Object Members |
|
|
Since |
2025.2 |
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
...
var myDocCaptureTask = task.create({
taskType: task.TaskType.DOCUMENT_CAPTURE
});
myDocCaptureTask.outputFilePath = "SuiteScripts/result.json";
...
// Add additional code