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 svmx:deploy command. It is recommended that you run the validate command before you deploy the configurations.
The following table provides the svmx:deploy command information:
Command Options/Arguments
Description
Command:
$ sfdx svmx:deploy [-t <array>] [-f] [-p <string>][-l <string>] [-u <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
-u
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.
sfdx svmx:deploy -u user@salesforce.com
sfdx svmx:deploy -u user@salesforce.com -f
sfdx svmx:deploy -u user@salesforce.com -t Expression,Mapping, TechnicalAttribute
sfdx svmx:deploy -u user@salesforce.com -c configuration.json
s
vmx:deploy:assethierarchy
Used to deploy asset hierarchy configurations.
sfdx svmx:deploy:assethierarchy -u user@salesforce.com
svmx:deploy:assettimeline
Used to deploy asset hierarchy configurations.
sfdx svmx:deploy:assettimeline -u user@salesforce.com
svmx:deploy:entitlementrule
Used to deploy auto-entitlement rules.
sfdx svmx:deploy:entitlementrule -u user@salesforce.com
svmx:deploy:esarule
Used to deploy entitled service assignment rules.
sfdx svmx:deploy:esarule -u user@salesforce.com
svmx:deploy:expression
Used to deploy expressions.
sfdx svmx:deploy:expression -u user@salesforce.com
sfdx svmx:deploy:expression -u user@salesforce.com -n <DEVELOPER_NAME>
sfdx svmx:deploy:expression -u user@salesforce.com -f -n <DEVELOPER_NAME,...>
svmx:deploy:mapping
Used to deploy mappings.
sfdx svmx:deploy:mapping -u user@salesforce.com
svmx:deploy:parule
Used to deploy pricebook assignment rules.
sfdx svmx:deploy:parule -u user@salesforce.com
svmx:deploy:screen
Used to deploy screen configurations.
sfdx svmx:deploy:screen -u user@salesforce.com
svmx:deploy:transaction
Used to deploy transactions.
sfdx svmx:deploy:transaction -u user@salesforce.com
svmx:deploy:wizard
Used to deploy wizards.
sfdx svmx:deploy:wizard -u user@salesforce.com
svmx:deploy:psc
Used to deploy PSC configurations.
sfdx svmx:deploy:psc -u user@salesforce.com
svmx:deploy:translation
Used to deploy translations.
sfdx svmx:deploy:translation -l ja -u user@salesforce.com
svmx:deploy:techattr
Used to deploy asset technical attributes.
sfdx svmx:deploy:techattr -u user@salesforce.com
The following is a sample screen of the svmx:deploy command run to deploy expressions and mappings.
Was this helpful?