importbundle
SuiteBundler is still supported, but it will not be updated with any new features.
To take advantage of new features for packaging and distributing customizations, you can use the Copy to Account and SuiteCloud Development (SDF) features instead of SuiteBundler.
Copy to Account is an administrator tool that you can use to copy objects between your accounts. The tool can copy one object at a time, including dependencies and data. For more information, see Copy to Account.
SuiteCloud Development Framework is a development framework that you can use to create SuiteApps from an integrated development environment (IDE) on your local computer. For more information, see SuiteCloud Development Framework.
Imports a customization bundle from your NetSuite account and converts it to an account customization project. For more information, see Conversion of a Bundle to an Account Customization Project for SDF.
Syntax
importbundle -bundleid BundleID
[-authid AuthId]
[-p FolderOrZipFile]
Options
Option |
Required / Optional |
Description |
-bundleid |
Required |
Specifies the ID of the bundle to import. |
-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. |
-h or -help |
Optional |
Prints the help for this command. |
Example
The following command imports a bundle and creates an account customization project:
sdfcli importbundle -bundleid 123 -authid AuthId -p c:/SDFproject
When you run the command, it produces an 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
Importing bundle with id 123 to path: "C:\SDFproject".
The following bundle component(s) were imported.
Objects\customlist_sample_cust_list_1.xml
Related Topics
- SuiteCloud CLI for Java Commands
- adddependencies
- authenticate
- authenticateci
- createfile
- createproject
- deploy
- importconfiguration
- importfiles
- importobjects
- listbundles
- listconfiguration
- listfiles
- listmissingdependencies
- listobjects
- manageauth
- package
- preview
- project
- update
- updatecustomrecordwithinstances
- uploadfiles
- uploadfolders
- validate