object:list
Lists the SDF custom objects deployed in your account.
Syntax
object:list [--appid QualifiedAppID] [--scriptid ScriptID] [--type CustomObjectType1 CustomObjectType2
Options
Option |
Required / Optional |
Description |
---|---|---|
--appid |
Optional |
Specifies the application ID of the SuiteApp. The application ID is a fully qualified name like If you specify it, only SDF custom objects with that application ID are listed. Otherwise, only SDF custom objects with no application ID are listed. For information about the SuiteApp application ID, see SuiteApp Application ID. |
-i or --interactive |
Optional |
Runs the command in interactive mode. |
--scriptid |
Optional |
Specifies the script ID of the SDF custom objects you want to list. To specify multiple IDs, separate them with spaces. Enter If you use this with the |
--type |
Optional |
Lists the SDF custom objects that are associated with the specified custom NetSuite types. To specify multiple types, separate them by spaces. If you specify this option and the If you don't use |
-h or --help |
Optional |
Prints the help for this command. |
Interactive Example
Here's a command that lists the SDF custom objects in a specific folder using interactive mode:
suitecloud object:list -i
Before you run the command, you'll be prompted with these questions:
Do you want to list objects from a specific SuiteApp? > Yes No
Enter the application ID. > org.mycompany.helloworldapp
Do you want to list all object types? Yes > No
Select the object types you want to list. (*) Advanced PDF Template ( ) Center (*) Center Category
Do you want to enter a script ID to filter your list? > Yes No
Enter the full or partial script ID. > 9
Non-interactive Example
Here's a command that lists the SDF custom objects in your current account:
suitecloud object:list --appid org.mycompany.helloworldapp --type advancedpdftemplate centercategory
Output Example
When you run the command, it produces an output that is similar to the following:
The following objects were found in your account:
advancedpdftemplate:custtmpl_myfile
advancedpdftemplate:custtmpl_2
centercategory:custcentercategory_myfile
centercategory:custcentercategory_2