Defining Import Options for Saved CSV Import Maps in XML Definitions
In SuiteCloud Development Framework (SDF), you can define import options in savedcsvimport
SDF custom objects.
The following table contains information you can use to match options in the NetSuite user interface Import Assistant with SuiteCloud Development Framework (SDF) XML elements:
The table does not contain information about required elements, data types, and default values. For that information, see savedcsvimport.
Import Assistant Option |
XML Element |
Notes |
---|---|---|
Character Encoding |
|
For the list of possible values, see csvimport_recordtypes. For more information, see Choose Import Character Encoding. |
CSV Column Delimiter |
|
For the list of possible values, see csvimport_columndelimiter. For more information, see Choose CSV Column Delimiter. |
CSV Decimal Delimiter |
|
For more information, see CSV Decimal Delimiter. |
CSV File(s) |
None |
The |
Custom Form |
|
For custom forms, use either the For more information, see Custom Form. |
Custom Multi-Select Value Delimiter |
|
For more information, see Custom Multi-Select Value Delimiter. |
Data Handling |
|
For more information, see Choose Data Handling for Import. |
Description |
|
Provides a description in the NetSuite user interface for the CSV import. |
Ignore Read-Only Fields |
|
For more information, see Ignore Read Only Fields. |
Import Map Name |
|
Enter a name that can be used as a reference in the NetSuite user interface when tracking the import's progress. The name can also be used to identify the CSV import when it is rerun or edited. |
Import Type |
None |
There is no XML element for this option. It is sufficient to specify the |
Log System Notes for Custom Fields |
|
For more information, see Log System Notes For Custom Fields. |
Overwrite Missing Fields |
|
For more information, see Overwrite Missing Fields. |
Overwrite Sublists |
|
For more information, see Overwrite Sublists. |
Prevent Duplicate Records |
|
This element requires the DUPLICATES feature to be declared as a dependency in the manifest. For more information, see Prevent Duplicate Records. |
Queue Number |
None |
This option is not currently supported in SDF. The option is available in the Import Assistant for accounts that have a SuiteCloud Plus license. For more information, see Queue Number. |
Record Type |
|
For the list of possible values, see csvimport_recordtypes. For information about record types supported by NetSuite, see Supported Record Types for CSV Import. |
Run Server SuiteScript and Trigger Workflows |
|
For more information, see Server Scripting and Workflow Execution. |
Script ID |
|
The prefix of the |
Use Multi-Threading |
|
The option is available for accounts that have a SuiteCloud Plus license. For more information, see Use Multi-Threading. |
Validate Mandatory Custom Fields |
|
For more information, see Validate Mandatory Custom Fields. |