update
SuiteCloud CLI for Java has reached end of support. The final available version is 2025.2. Oracle no longer provides new releases, features, or issue fixes. The CLI will remain available for download until the NetSuite 2027.1 release. Transition to SuiteCloud CLI for Node.js, SuiteCloud Extension for Visual Studio Code, or SuiteCloud IDE Plug-in for WebStorm.
Updates the SDF custom objects in your SuiteCloud project folder with the matching ones from your NetSuite account.
Syntax
sdfcli update <-scriptid scriptID1 [scriptID2] [...]>
<-authid AuthId>
[-p FolderOrZipFile]
Options
|
Option |
Required / Optional |
Description |
|
-scriptid |
Required |
Lists the script IDs of the SDF custom objects to update. |
|
-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 with your SuiteCloud project. |
|
-h or -help |
Optional |
Prints the help for this command. |
Example
Here's a command that checks for updates to an object in a NetSuite account (if it exists) and updates the SDF custom object in your SuiteCloud project:
sdfcli update -scriptid customrecord_test1 customrecord_test2 -authid AuthId -p c:/project/
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)
customrecord_test1 updated.
customrecord_test2 updated.
Related Topics
- SuiteCloud CLI for Java Commands
- adddependencies
- authenticate
- authenticateci
- createfile
- createproject
- deploy
- importbundle
- importconfiguration
- importfiles
- importobjects
- listbundles
- listconfiguration
- listfiles
- listmissingdependencies
- listobjects
- manageauth
- package
- preview
- project
- updatecustomrecordwithinstances
- uploadfiles
- uploadfolders
- validate