Command Line to Upload Customer Data

The action UPLDCUSTDATA is used to upload customer data to the PUM source Database. This action is also used to enable or disable Object Merge.

Command line format:

Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -RPSTTYPE <CUST|TEST> -PRJTYPE <MO|ADS> -PRJFROMDB <DB:project> -MRGOPT <Y|N> -PRJFROMFILE <file name> -NEWPRJ <DB:project> -REPLACE <Y|N> -ERRORCONTINUE <Y|N>

or

Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -INI <path to ini file>

Example command line to upload customization project from H9257P08 database project TEST_AE_PC.

Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -RPSTTYPE CUST -PRJTYPE MO -PRJFROMDB H9257P08:TEST_AE_PC -REPLACE Y

Example command line to upload customization project from H9257P08 database project TEST_AE_PC and enable object merge.

Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -RPSTTYPE CUST -PRJTYPE MO -PRJFROMDB H9257P08:TEST_AE_PC -REPLACE Y -MRGOPT Y

Note:

This command first updates the merge option in PUM Source database and then uploads the project.

Example command line to enable object merge.

Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -MRGOPT Y

Example command line to disable object merge.

Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -MRGOPT N

The parameters for UPLDCUSTDATA action are:

Parameter Description

-MODE

Change Assistant Action (Required)

UM = Update Manager

-ACTION

Action name (Required)

UPLDCUSTDATA = Upload customer metadata and test data.

-RPSTTYPE

Target Repository Type (Required)

  • CUST

  • TEST

-PRJTYPE

Select the customer metadata type (Required)

  • MO = Managed Object Project

  • ADS = ADS Project

Note: If the repository type is TEST, MO is the only valid option.

-PRJFROMDB

Select Existing Database Project(s)

Example: -PRJFROMDB DB1:custprj1;DB2:custprj2

Note: Use this option if the project exists in the database.

-MRGOPT

Enable Object Merge (Optional)

  • Y = Enable object merge.

  • N = Disable object merge.

-PRJFROMFILE

Select Existing Project File(s)

Example: -PRJFROMFILE c:/temp/custprj1;c:/temp/custprj2.

Note: Use this option if the project has been copied to file. This option can’t be used with -MRGOPT.

-NEWPRJ

Create new database project

Example: -NEWPRJ DB1:custprj1

-REPLACE

Replace existing data if it exists (Optional)

  • Y = Replace Existing Values if they Exist (default)

  • N = Do Not Replace Values if they Exist

-ERRORCONTINUE

Proceed with Uploading Customer Data even if errors are found (Optional)

  • Y = Proceed with Apply even if Errors found (default)

  • N= Stop apply when Errors encountered

-INI

Path to ini file.

See Using a Configuration File with Changeassistant.bat