Using the Deploy Command
This command deploys configurations to the ServiceMax Core org. When you use the deploy command, the configurations provided in the JSON files, passed with the command, are deployed to the org.
* 
Validation is not performed when you run the svmxc:deploy command.
The following table provides the svmxc:deploy command information:
Command Options / Arguments
Description
Command:
$ sfdx svmxc:deploy [-t <array>] [-f] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
-t
It is used to specify the ServiceMax Core configuration types to deploy.
* 
Specify the configuration types in a comma-separated string.
For information about the configuration types, you can pass them as arguments; see the table in the retrieve command.
-f
It is used to specify that the configurations should be overwritten.
-p
It is used to specify the path of the stored configuration JSON files to deploy.
-u
It is used to specify the org username or the alias for the target org. This value overrides the default target org.
--apiversion
It is used to specify the API version. This overrides the API version used for API requests made by this command.
--json
It is used to specify that the output format is JSON.
--loglevel
It is 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
svmxc: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 svmxc:deploy -u user@salesforce.com
sfdx svmxc:deploy -u user@salesforce.com -f
sfdx svmxc:deploy -u user@salesforce.com -t Expression,Mapping
svmxc:deploy:checklist
Used to deploy checklists.
sfdx svmxc:deploy:checklist -u user@salesforce.com
sfdx svmxc:deploy:checklist -u user@salesforce.com -f
svmxc:deploy:dvr
Used to deploy data validation rules.
sfdx svmxc:deploy:dvr -u user@salesforce.com
sfdx svmxc:deploy:dvr -u user@salesforce.com -f
svmxc:deploy:opdoc
Used to deploy output documents.
sfdx svmxc:deploy:opdoc -u user@salesforce.com
svmxc:deploy:expression
Used to deploy expressions.
sfdx svmxc:deploy:expression -u user@salesforce.com
sfdx svmxc:deploy:expression -u user@salesforce.com -n <DEVELOPER_NAME>
sfdx svmxc:deploy:expression -u user@salesforce.com -f -n <DEVELOPER_NAME,...>
svmxc:deploy:mapping
Used to deploy mappings.
sfdx svmxc:deploy:mapping -u user@salesforce.com
svmxc:deploy:transaction
Used to deploy transactions.
sfdx svmxc:deploy:transaction -u user@salesforce.com
svmxc:deploy:wizard
Used to deploy wizards.
sfdx svmxc:deploy:wizard -u user@salesforce.com
svmxc:deploy:inventory
Used to deploy Inventory Process.
sfdx svmxc:deploy: inventory -u user@salesforce.com
sfdx svmxc:deploy: inventory -u user@salesforce.com -f
vmxc:deploy:transaction/checklist
Used to deploy the transactions and checklist.
sfdx svmxc:deploy:transaction/checklist -u user@salesforce.com
svmxc:deploy:mobilepermission
Used to deploy the Mobile Permissions.
sfdx svmxc:deploy:mobilepermission -u user@salesforce.com
svmxc:deploy:apppermission
Used to deploy the SFW SFM App permissions.
* 
For SFM App Permissions, deploying with -f is not supported.
sfdx svmxc:deploy:apppermission -u user@salesforce.com
svmxc:deploy:configprofile
Used to deploy the Configuration Profiles.
sfdx svmxc:deploy:configprofile -u user@salesforce.com
svmxc:deploy:mobileconfig
Used to deploy the Mobile Configuration.
sfdx svmxc:deploy:mobileconfig -u username of user@salesforce.com
svmxc:deploy:eventsubjectrule
Used to deploy the Event Subject Rule.
sfdx svmxc:deploy:eventsubjectrule -u, username of user@salesforce.co
m
svmxc:deploy:triggercontrol
Used to deploy the Trigger Controls.
sfdx svmxc:deploy:triggercontrol -u,username of user@salesforce.com
svmxc:deploy:featurepermission
Used to deploy the Feature permission.
sfdx svmxc:deploy:featurepermission -u,username of user@salesforce.com
svmxc:deploy:techattr
Used to deploy the Technical Attributes.
sfdx svmxc:deploy:techattr -u, username of user@salesforce.com
svmxc:deploy:customactions
Used to deploy the Custom Actions.
sfdx svmxc:deploy:customactions -u, username of user@salesforce.com
svmxc:deploy:availableservice
Used to deploy the Available Services.
sfdx svmxc:deploy:availableservice -u, username of user@salesforce.com
svmxc:deploy:territory
Used to deploy the Territory.
sfdx svmxc:deploy:territory - u, username of user@salesforce.com
svmxc:deploy:territoryrule
Used to deploy the Territory Matching Rule.
sfdx svmxc:deploy:territoryrule - u, username of user@salesforce.com
svmxc:deploy:techrule
Used to deploy the Technician Rule.
sfdx svmxc:retrieve:techrule -u, username of user@salesforce.com
svmxc:deploy:autoentitlement
Used to deploy the Auto Entitlement.
sfdx svmxc:deploy:autoentitlement -u, username of user@salesforce.com
svmxc:deploy:counterrule
Used to deploy the Counter Rules
sfdx svmxc:deploy:counterrule - u, username of user@salesforce.com
svmxc:deploy:spm
Used to deploy the SPM.
sfdx svmxc:deploy:spm - u, username of user@salesforce.com
svmxc:deploy:iotapex
svmxc:retrieve:iotobject
Used to deploy the IOT Map To Apex.
sfdx svmxc:deploy:iotapex - u, username of user@salesforce.com
sfdx svmxc:retrieve:iotobject - u, username of user@salesforce.com
svmxc:deploy:ibsetup
Used to deploy the IB Application Setup.
sfdx svmxc:deploy:ibsetup -u, username of user@salesforce.com
svmxc:deploy:pmplantemplate
Used to deploy the PM Plan Template.
sfdx svmxc:deploy:pmplantemplate -u, username of user@salesforce.com
svmxc:deploy:serviceteam
Used to deploy the Service Team.
sfdx svmxc:deploy:serviceteam -u, username of user@salesforce.com
svmxc:deploy:mttsrule
Used to deploy the MTTS Rule.
sfdx svmxc:deploy:mttsrule -u, username of user@salesforce.com
svmxc:deploy:dispatchprocess
Used to deploy the Dispatch Process.
sfdx svmxc:deploy:dispatchprocess -u, username of user@salesforce.com
svmxc:deploy:timesheet
Used to deploy the Timesheet Process.
sfdx svmxc:deploy:timesheet -u, username of user@salesforce.com
svmxc:deploy:sfa
Used to deploy the Service Flow Automation.
sfdx svmxc:deploy:sfa -u, username of user@salesforce.com
svmxc:deploy:fieldinventory
Used to deploy the Field Inventory.
sfdx svmxc:deploy:fieldinventory -u, username of user@salesforce.com
svmxc:deploy:pmprocess
Used to deploy the PM Process.
sfdx svmxc:deploy:pmprocess -u, username of user@salesforce.com
svmxc:deploy:sfmsearch
Used to deploy the SFM Search.
sfdx svmxc:deploy:sfmsearch -u, username of user@salesforce.com
svmxc:deploy:techrule
Used to deploy the Technician Rule.
sfdx svmxc:deploy:techrule -u, username of user@salesforce.com
svmxc:deploy:slaterms
Used to deploy the SLA Terms.
sfdx svmxc:deploy:slaterms -u, username of user@salesforce.com
svmxc:deploy:eventhoverrule
Used to deploy the Event Hover Rule.
sfdx svmxc:deploy:eventhoverrule -u, username of user@salesforce.com
sfdx svmxc:deploy:dcfieldupdate
Used to deploy the DC Field Update.
sfdx svmxc:deploy:dcfieldupdate -u, username of user@salesforce.com
sfdx svmxc:deploy:fcoconfig
Used to deploy the FCO Configurations.
sfdx svmxc:deploy:fcoconfig -u, username of user@salesforce.com
sfdx svmxc:deploy:translation
Used to deploy the Translations.
* 
For Translations, deploying with -f is not supported.
sfdx svmxc:deploy:translation -u, username of user@salesforce.com
sfdx svmxc:deploy:datalookuprule
Used to deploy the Data Lookup Rule.
sfdx svmxc:deploy:datalookuprule -u, username of user@salesforce.com
sfdx svmxc:deploy:timeline
Used to deploy the Timeline.
sfdx svmxc:deploy:timeline -u, username of user@salesforce.com
sfdx svmxc:deploy:skillmatchrule
Used to deploy the Skill Match Rule.
sfdx svmxc:deploy:skillmatchrule -u, username of user@salesforce.com
sfdx svmxc:deploy:dcview
Used to deploy the DC View.
sfdx svmxc:deploy:dcview -u, username of user@salesforce.com
sfdx svmxc:deploy:tasktemplate
Used to deploy the Task Template.
sfdx svmxc:deploy:tasktemplate -u, username of user@salesforce.com
sfdx svmxc:deploy:invoiceprocess
Used to deploy the Service Proforma Invoice Process.
sfdx svmxc:deploy:invoiceprocess -u, username of user@salesforce.com
sfdx svmxc:deploy:sconinvoiceprocess
Used to deploy the Service Contact Proforma Invoice Process.
sfdx svmxc:deploy:sconinvoiceprocess -u, username of user@salesforce.com
sfdx svmxc:deploy:pulse
Used to deploy the Push Notification.
sfdx svmxc:deploy:pulse -u, username of user@salesforce.com
sfdx svmxc:deploy:warrantyterms
Used to deploy the Warranty Terms.
sfdx svmxc:deploy:warrantyterms -u, username of user@salesforce.com
sfdx svmxc:deploy:activitymaster
Used to deploy the Activity Master.
sfdx svmxc:deploy:activitymaster -u, username of user@salesforce.com
sfdx svmxc:deploy:appointmenttype
Used to deploy the Ranked Appointment Booking.
sfdx svmxc:deploy:appointmenttype -u, username of user@salesforce.com
sfdx svmxc:deploy:overnightstaypolicy
Used to deploy the Overnight Stay Policy.
sfdx svmxc:deploy:overnightstaypolicy -u, username of user@salesforce.com
sfdx svmxc:deploy:dchover
Used to deploy the Dispatch Console Hover.
sfdx svmxc:deploy:dchover -u, username of user@salesforce.com
sfdx svmxc:deploy:scheduledsfm
Used to deploy the Scheduled SFM.
sfdx svmxc:deploy:scheduledsfm -u, username of user@salesforce.com
sfdx svmxc:deploy:serviceplan
Used to deploy the Service Plan.
sfdx svmxc:deploy:serviceplan -u, username of user@salesforce.com
The following is a sample screen of the svmxc:deploy command run to deploy SFM transactions.
Was this helpful?