createproject

Creates a SuiteCloud project, either an account customization project (ACP) or a SuiteApp project.

Syntax

          createproject [-overwrite]
    -type AccountType
    -parentdirectory FolderPath
    -projectname ProjectName
    [-projectid ProjectID]
    [-publisherid PublisherID]
    [-projectversion ProjectVersion] 

        

Options

Option

Required / Optional

Description

-type

Required

The project type. Valid values are ACCOUNTCUSTOMIZATION or SUITEAPP.

-overwrite

Optional

Indicates that an existing project with an identical project name can be overwritten.

-parentdirectory

Required

Sets the parent directory of the project created.

For example:

                    c:/Users/myUserName/Desktop/NetSuiteCustomizations 

                  
Note:

You must have read, write, and execute access on any directory where you want to run SuiteCloud CLI.

-projectname

Required

A name for your project.

-projectid

Required when type is specified as SUITEAPP

A unique identifier to assign to the project.

This value must be a word with lowercase alphanumeric characters. It must be less than 40 characters

-publisherid

Required when type is specified as SUITEAPP

The publisher ID of your SuiteApp project.

-projectversion

Required when type is specified as SUITEAPP

The version to assign to your project, using semantic versioning. For example, specify the following project version if your SDF SuiteApp is version 1.02, minor revision #01242017:

                    1.02.01242016 

                  
Important:

After you deploy the SDF SuiteApp to your NetSuite account, the project version number cannot be modified. The project version number of all subsequent deployments of the SDF SuiteApp must match the project version number of the initial deployment.

-h or -help

Optional

Prints the help for this command.

Example

The following command creates an account customization project:

sdfcli createproject [-overwrite] -type ACCOUNTCUSTOMIZATION -parentdirectory d:/myprojects/customizations -projectname MySDFProject

The following command creates a SuiteApp project:

sdfcli createproject [-overwrite] -type SUITEAPP -parentdirectory d:/sdfprojects/mysuiteapps -projectid mysuiteapp123 -projectname MySDFProject2 -publisherid com.netsuite -projectversion 1.0.0

Related Topics

SuiteCloud CLI for Java Commands
adddependencies
authenticate
deploy
importbundle
importconfiguration
importfiles
importobjects
listbundles
listconfiguration
listfiles
listmissingdependencies
listobjects
manageauth
package
preview
project
update
updatecustomrecordwithinstances
uploadfiles
uploadfolders
validate

General Notices