importfiles

Imports files from your NetSuite account to the account customization project.

Syntax

          importfiles -paths FileCabinetPath1 [FilePathCabinet2] [...]
    [-authid AuthId]
    [-p FolderOrZipFile]
    [-excludeproperties] 

        

Options

Option

Required / Optional

Description

-paths

Required

Specifies the File Cabinet path or paths that contain the files to import.

Important:

Wildcards are not suported.

-authid

Required

References the custom alias you give to a specific account-role combination.

-p

Required when a default project has not been specified by the project command or when you want to specify a project other than the default. For more information, see project.

References the folder or ZIP file that contains the SuiteCloud project.

-excludeproperties

Optional

Excludes the file and folder properties specified in your NetSuite account. If you specify this option, the .attributes folder is not created.

-h or -help

Optional

Prints the help for this command.

Example

The following command imports a file from a NetSuite account into a specified SuiteCloud project:

sdfcli importfiles -paths "/SuiteScripts/test.js" -authid AuthId -p c:/project/

When executed, the command prompts you to overwrite any existing files in the SuiteCloud project and produces output that is similar to the following:

          SuiteCloud Development Framework CLI (com.netsuite.ide.core_2021.1.0)
Existing files will be overwritten, do you want to continue? Type YES to continue.
YES
Done 

        

Related Topics

General Notices