Update an application package

Updates the package name, description, and properties. Note that only the property’s value attribute can be changed through CLI.

Command Alias Syntax
package update pkg update package update -pid <packageID> [-name <name>] [-desc <description>] [-in <input-file>]

Options

Option Description
-pid, --<packageID>

Application package ID. Use the List application packages command to obtain the package ID.

-name, --<name> Name of the package.
-desc,--<description> Package description.
-in, --<input-file> Input file containing properties of the application package. If there is already a package for the design useList application packages command to obtain the JSON from the existing package and change the value of the attributes.
-s, --server The URL of the HCM ARA instance. For example, https://localhost:8444/csa.
-u, --user The HCM ARA username.
-p, --password The password for the HCM ARA user.
-c, --config A file that contains default general option values in the format “<name>=<value>“, where <name> is “server”, “user”, or “password”. If not specified, the cliforcodar.properties file in the home directory of the current user is used if it exists.

Usage guidelines

This command must be pre-defined in a configuration file or defined in the command line. The --server(-s) option defaults to localhost value(s) if it is not pre-defined in a configuration file.

Example

C:\CODAR\clis> codarexec.bat pkg update –pid e44cd095-aa35-468a-81bb-a1c0a36ae959  -name package2 -desc desc –in packageproperties.json

Package 'package2' ( e44cd095-aa35-468a-81bb-a1c0a36ae959 ) was updated