listobjects
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.
Lists the SDF custom objects in your NetSuite account.
Syntax
sdfcli listobjects <-authid AuthId>
[-p FolderOrZipFile]
[-appid QualifiedAppID]
[-scriptid ScriptID]
[-type CustomObjectType1 [CustomObjectType2] [...]]
Options
|
Option |
Required / Optional |
Description |
|
-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. |
|
-appid |
Optional |
References the application ID of the SDF SuiteApp. The application ID is a fully qualified name like If you specify an application ID, only SDF custom objects linked to that app ID are listed. Otherwise, only SDF custom objects not linked to an app ID are listed. For information about the SuiteApp application ID, see SuiteApp Application ID. |
|
-scriptid |
Optional |
Lists the SDF custom objects with script IDs that match or contain the string you specify. If you use this with the If you don't use |
|
-type |
Optional |
Lists the SDF custom objects that are associated with the specified custom NetSuite types. If you use this with the If you don't use |
|
-h or -help |
Optional |
Prints the help for this command. |
Example
Here's a command that lists the SDF custom objects in your NetSuite account:
sdfcli listobjects -authid AuthId -p c:/project/ -appid org.mycompany.helloworldapp -scriptid 9 -type customlist role savedsearch
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)
customlist:customlist19
customlist:customlist9
role:customrole1009
savedsearch:customsearch39
savedsearch:customsearch49
savedsearch:customsearch9
Related Topics
- SuiteCloud CLI for Java Commands
- adddependencies
- authenticate
- authenticateci
- createfile
- createproject
- deploy
- importbundle
- importconfiguration
- importfiles
- importobjects
- listbundles
- listconfiguration
- listfiles
- listmissingdependencies
- manageauth
- package
- preview
- project
- update
- updatecustomrecordwithinstances
- uploadfiles
- uploadfolders
- validate