listobjects

Lists the SDF custom objects in your NetSuite account.

Syntax

          listobjects [-authid myNetSuiteDevRole]
    [-p FolderOrZipFile]
    [-appid QualifiedAppID]
    [-scriptid ScriptID]
    [-type CustomObjectType1 [CustomObjectType2] [...]] 

        

Options

Option

Required / Optional

Description

-authid

Optional

If you do not specify it, the default account is used.

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.

-appid

Optional

References the application ID of the SDF SuiteApp.

The application ID is a fully qualified name with the notation: <publisherid>.<projectid>. For example, com.netsuite.mysuiteapp or org.mycompany.helloworld are valid app IDs.

When the application ID is specified, only SDF custom objects that are associated with the app ID are listed. Otherwise, only SDF custom objects that are not associated with an application 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 value of the specified script ID.

If you specify this option with the -type option, the list of SDF custom objects is also checked against the criteria set by the -type option.

If the -scriptid and -type options are not specified, all SDF custom objects are listed.

-type

Optional

Lists the SDF custom objects that are associated with the specified custom NetSuite types.

If you specify this option with the -scriptid option, the list of SDF custom objects is also checked against the criteria set by the -scriptid option.

If the -scriptid and -type options are not specified, all SDF custom objects are listed.

-h or -help

Optional

Prints the help for this command.

Example

The following command lists the SDF custom objects in your NetSuite account:

sdfcli listobjects -authid myDevRole -p c:/project/ -appid org.mycompany.helloworldapp -scriptid 9 -type customlist role savedsearch

When executed, the command produces 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
createproject
deploy
importbundle
importconfiguration
importfiles
importobjects
listbundles
listconfiguration
listfiles
listmissingdependencies
manageauth
package
preview
project
update
updatecustomrecordwithinstances
uploadfiles
uploadfolders
validate

General Notices