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:
$ sf svmxc deploy -o <value> [--json] [-n <value>] [-p <value>] [-t <value>] [-f] [-c <value>] [-a <value>]
-t
Specifies 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.
-n
Specifies the Developer names of the ServiceMax Core configurations to be retrieved from the Salesforce org.
-c
Specifies the configuration file.
-a
Specifies the Salesforce org’s apiversion.
-f
Specifies that the configurations should be overwritten.
-p
Specifies the path of the stored configuration JSON files to deploy.
-o
Specifies the org username or the alias for the target org. This value overrides the default target org.
--json
Specifies that the output format is JSON.
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.
sf svmxc deploy -o [email protected]
sf svmxc deploy -o [email protected] -f
sf svmxc deploy -o [email protected] -t Expression,Mapping
sf svmxc deploy checklist
Used to deploy checklists.
sf svmxc deploy checklist -o [email protected]
sf svmxc deploy checklist -o [email protected] -f
sf svmxc deploy dvr
Used to deploy data validation rules.
sf svmxc deploy dvr -o [email protected]
sf svmxc deploy dvr -o [email protected] -f
sf svmxc deploy opdoc
Used to deploy output documents.
sf svmxc deploy opdoc -o [email protected]
sf svmxc deploy expression
Used to deploy expressions.
sf svmxc deploy expression -o [email protected]
sf svmxc deploy expression -o [email protected] -n <DEVELOPER_NAME>
sf svmxc deploy expression -o [email protected] -f -n <DEVELOPER_NAME,...>
sf svmxc deploy mapping
Used to deploy mappings.
sf svmxc deploy mapping -o [email protected]
sf svmxc deploy transaction
Used to deploy transactions.
sf svmxc deploy transaction -o [email protected]
sf svmxc deploy wizard
Used to deploy wizards.
sf svmxc deploy wizard -o [email protected]
sf svmxc deploy inventory
Used to deploy Inventory Process.
sf svmxc deploy inventory -o [email protected]
sf svmxc deploy inventory -o [email protected] -f
sf svmxc:deploy:transaction/checklist
Used to deploy the transactions and checklist.
sf svmxc deploy transaction/checklist -o [email protected]
sf svmxc deploy mobilepermission
Used to deploy the Mobile Permissions.
sf svmxc deploy mobilepermission -o [email protected]
sf svmxc deploy apppermission
Used to deploy the SFW SFM App permissions.
* 
For SFM App Permissions, deploying with -f is not supported.
sf svmxc deploy apppermission -o [email protected]
sf svmxc deploy configprofile
Used to deploy the Configuration Profiles.
sf svmxc deploy configprofile -o [email protected]
sf svmxc deploy mobileconfig
Used to deploy the Mobile Configuration.
sf svmxc deploy mobileconfig -o [email protected]
sf svmxc deploy eventsubjectrule
Used to deploy the Event Subject Rule.
sf svmxc deploy eventsubjectrule -o [email protected]
m
sf svmxc deploy triggercontrol
Used to deploy the Trigger Controls.
sf svmxc deploy triggercontrol -o [email protected]
sf svmxc deploy featurepermission
Used to deploy the Feature permission.
sf svmxc deploy featurepermission -o [email protected]
sf svmxc deploy techattr
Used to deploy the Technical Attributes.
sf svmxc deploy techattr -o [email protected]
sf svmxc deploy customactions
Used to deploy the Custom Actions.
sf svmxc deploy customactions -o [email protected]
sf svmxc deploy availableservice
Used to deploy the Available Services.
sf svmxc deploy availableservice -o [email protected]
sf svmxc deploy territory
Used to deploy the Territory.
sf svmxc deploy territory -o [email protected]
sf svmxc deploy territoryrule
Used to deploy the Territory Matching Rule.
sf svmxc deploy territoryrule -o [email protected]
sf svmxc deploy techrule
Used to deploy the Technician Rule.
sfdx svmxc:retrieve:techrule -o [email protected]
sf svmxc deploy autoentitlement
Used to deploy the Auto Entitlement.
sf svmxc deploy autoentitlement -o [email protected]
sf svmxc deploy counterrule
Used to deploy the Counter Rules
sf svmxc deploy counterrule -o [email protected]
sf svmxc deploy spm
Used to deploy the SPM.
sf svmxc deploy spm -o [email protected]
sf svmxc deploy iotapex
sf svmxc retrieve iotobject
Used to deploy the IOT Map To Apex.
sf svmxc deploy iotapex -o [email protected]
sfdx svmxc:retrieve:iotobject -o [email protected]
sf svmxc deploy ibsetup
Used to deploy the IB Application Setup.
sf svmxc deploy ibsetup -o [email protected]
sf svmxc deploy pmplantemplate
Used to deploy the PM Plan Template.
sf svmxc deploy pmplantemplate -o [email protected]
sf svmxc deploy serviceteam
Used to deploy the Service Team.
sf svmxc deploy serviceteam -o [email protected]
sf svmxc deploy mttsrule
Used to deploy the MTTS Rule.
sf svmxc deploy mttsrule -o [email protected]
sf svmxc deploy dispatchprocess
Used to deploy the Dispatch Process.
sf svmxc deploy dispatchprocess -o [email protected]
sf svmxc deploy timesheet
Used to deploy the Timesheet Process.
sf svmxc deploy timesheet -o [email protected]
sf svmxc deploy sfa
Used to deploy the Service Flow Automation.
sf svmxc deploy sfa -o [email protected]
sf svmxc deploy pmprocess
Used to deploy the PM Process.
sf svmxc deploy pmprocess -o [email protected]
sf svmxc deploy sfmsearch
Used to deploy the SFM Search.
sf svmxc deploy sfmsearch -o [email protected]
sf svmxc deploy techrule
Used to deploy the Technician Rule.
sf svmxc deploy techrule -o [email protected]
sf svmxc deploy slaterms
Used to deploy the SLA Terms.
sf svmxc deploy slaterms -o [email protected]
sf svmxc deploy eventhoverrule
Used to deploy the Event Hover Rule.
sf svmxc deploy eventhoverrule -o [email protected]
sf svmxc deploy dcfieldupdate
Used to deploy the DC Field Update.
sf svmxc deploy dcfieldupdate -o [email protected]
sf svmxc deploy fcoconfig
Used to deploy the FCO Configurations.
sf svmxc deploy fcoconfig -o [email protected]
sf svmxc deploy translation
Used to deploy the Translations.
* 
For Translations, deploying with -f is not supported.
sf svmxc deploy translation -o [email protected]
sf svmxc deploy datalookuprule
Used to deploy the Data Lookup Rule.
sf svmxc deploy datalookuprule -o [email protected]
sf svmxc deploy timeline
Used to deploy the Timeline.
sf svmxc deploy timeline -o [email protected]
sf svmxc deploy skillmatchrule
Used to deploy the Skill Match Rule.
sf svmxc deploy skillmatchrule -o [email protected]
sf svmxc deploy dcview
Used to deploy the DC View.
sf svmxc deploy dcview -o [email protected]
sf svmxc deploy tasktemplate
Used to deploy the Task Template.
sf svmxc deploy tasktemplate -o [email protected]
sf svmxc deploy invoiceprocess
Used to deploy the Service Proforma Invoice Process.
sf svmxc deploy invoiceprocess -o [email protected]
sf svmxc deploy sconinvoiceprocess
Used to deploy the Service Contact Proforma Invoice Process.
sf svmxc deploy sconinvoiceprocess -o [email protected]
sf svmxc deploy warrantyterms
Used to deploy the Warranty Terms.
sf svmxc deploy warrantyterms -o [email protected]
sf svmxc deploy activitymaster
Used to deploy the Activity Master.
sf svmxc deploy activitymaster -o [email protected]
sf svmxc deploy appointmenttype
Used to deploy the Ranked Appointment Booking.
sf svmxc deploy appointmenttype -o [email protected]
sf svmxc deploy overnightstaypolicy
Used to deploy the Overnight Stay Policy.
sf svmxc deploy overnightstaypolicy -o [email protected]
sf svmxc deploy dchover
Used to deploy the Dispatch Console Hover.
sf svmxc deploy dchover -o [email protected]
sf svmxc deploy scheduledsfm
Used to deploy the Scheduled SFM.
sf svmxc deploy scheduledsfm -o [email protected]
sf svmxc deploy serviceplan
Used to deploy the Service Plan.
sf svmxc deploy serviceplan -o [email protected]
sf svmxc deploy depotmgmtrule
Used to deploy the Depot Management Rule.
sf svmxc deploy depotmgmtrule -o [email protected]
sf svmxc deploy partusagesetting
Used to deploy the Part Usage Setting.
sf svmxc deploy partusagesetting -o [email protected]
The following is a sample screen of the svmxc:deploy command run to deploy SFM transactions.
You can also pass all the configuration items in the target org in a JSON file. The command is as follows:
sf svmxc deploy -o tgt -c <JSON file path>
For example,
sf svmxc deploy -o tgt -c /Desktop/configuration.json
Was this helpful?