Deploy Command
The deploy command deploys configurations to Asset 360 orgs. When you use the deploy command, the configurations provided in the JSON files are deployed to the org.
* 
Validation is not performed when you run the deploy command. It is recommended that you run the validate command before you deploy the configurations.
The following table provides the deploy command information:
Command Options/Arguments
Description
Command:
$ sf svmx deploy [-t <array>] [-f] [-p <string>][-l <string>] [-o <string>] [-c <string>] [--apiversion <string>]
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
-t
Used to specify the Asset 360 configuration types to deploy.
* 
Specify the configuration types in a comma-separated string.
For information about configuration types you can pass as arguments, see the table in the retrieve command.
-f
Used to specify that the configurations should be overwritten.
-p
Used to specify the path of the stored configuration JSON files to deploy.
-l
Used to specify the language when you deploy translations.
* 
The command-line options for language are:
de: German
fi: Finnish
zh_CN: Chinese (PRC)
fr: French
ja: Japanese
es: Spanish
it: Italian
pt_BR: Portuguese (Brazil)
nl_NL: Dutch
-o
Used to specify the org username or the alias for the target org. This value overrides the default target org.
-c
Used to specify the name of the json file that contains information as to which configurations must be deployed.
--apiversion
Used to specify the API version. This overrides the API version used for API requests made by this command.
--json
Used to specify that the output format is JSON.
--loglevel
Used to specify the logging level. The available options are (trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL).
The default logging level is WARN.
The following table lists the available deploy commands:
Command
Description
Example
svmx deploy
Used to deploy all the available configurations.
* 
It is recommended to deploy the configurations individually. Deploy the dependent configurations first and then deploy the parent configurations.
sf svmx deploy -o user@salesforce.com
sf svmx deploy -o user@salesforce.com -f
sf svmx deploy -o user@salesforce.com -t Expression,Mapping, TechnicalAttribute
sf svmx deploy -o user@salesforce.com -c configuration.json
svmx deploy assethierarchy
Used to deploy asset hierarchy configurations.
sf svmx deploy assethierarchy -o user@salesforce.com
svmx deploy assettimeline
Used to deploy asset hierarchy configurations.
sf svmx deploy assettimeline -o user@salesforce.com
svmx deploy entitlementrule
Used to deploy auto-entitlement rules.
sf svmx deploy entitlementrule -o user@salesforce.com
svmx deploy esarule
Used to deploy entitled service assignment rules.
sf svmx deploy esarule -o user@salesforce.com
svmx deploy expression
Used to deploy expressions.
sf svmx deploy expression -o user@salesforce.com
sf svmx deploy expression -o user@salesforce.com -n <DEVELOPER_NAME>
sf svmx deploy expression -o user@salesforce.com -f -n <DEVELOPER_NAME,...>
svmx deploy mapping
Used to deploy mappings.
sf svmx deploy mapping -o user@salesforce.com
svmx deploy parule
Used to deploy pricebook assignment rules.
sf svmx deploy parule -o user@salesforce.com
svmx deploy screen
Used to deploy screen configurations.
sf svmx deploy screen -o user@salesforce.com
svmx deploy transaction
Used to deploy transactions.
sf svmx deploy transaction -o user@salesforce.com
svmx deploy wizard
Used to deploy wizards.
sf svmx deploy wizard -o user@salesforce.com
svmx deploy psc
Used to deploy PSC configurations.
sf svmx deploy psc -o user@salesforce.com
svmx deploy translation
Used to deploy translations.
sf svmx deploy translation -l ja -o user@salesforce.com
svmx deploy techattr
Used to deploy asset technical attributes.
sf svmx deploy techattr -o user@salesforce.com
svmx deploy mobileconfig
Used to deploy mobile configurations.
sf svmx deploy mobileconfig -o user@salesforce.com
svmx deploy flowsettings
Used to deploy flow settings.
sf svmx deploy flowsettings -o user@salesforce.com
Was this helpful?