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 for the project you're creating.

For example:

                    c:/Users/myUserName/Desktop/NetSuiteCustomizations 

                  
Note:

You need 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 ID for your 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 for your project, using semantic versioning. For example, if your SDF SuiteApp is version 1.02, minor revision #01242016, you’d use:

                    1.02.01242016 

                  

-h or -help

Optional

Prints the help for this command.

Example

Here's a command that creates an account customization project:

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

Here's a command that 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

General Notices