|
Command Options/Arguments
|
Description
|
||
|---|---|---|---|
|
Command:
$ sf svmx retrieve [-t <array>] [-p <string>] [-o <string>] [-d] [-c <string>] [--apiversion <string>] [--json] |
|||
|
-p
|
Used to specify the path where the root svmx folder is to be created to store the retrieved JSON files.
|
||
|
-t
|
Used to specify the Asset 360 configuration types to retrieve.
|
||
|
-o
|
Used to specify the org username or the alias of the org from which configurations are retrieved. This value overrides the default org.
|
||
|
-d
|
Used to specify that the dependent items must be retrieved.
|
||
|
-c
|
Used to specify the name of the JSON file that contains information as to which configurations must be retrieved.
The following is a sample JSON file:
{"expressions": [
|
||
|
--apiversion
|
Used to specify the Salesforce 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.
|
||
|
Command
|
Description
|
Examples
|
|---|---|---|
|
svmx retrieve
|
Used to retrieve all the available configurations.
|
sf svmx retrieve -o [email protected]
sf svmx retrieve -o [email protected] -t Expression,Mapping,TechnicalAttribute
sf svmx retrieve -o [email protected] -c configuration.json
|
|
svmx retrieve assethierarchy
|
Used to retrieve asset hierarchy configurations.
|
sf svmx retrieve assethierarchy -o [email protected]
|
|
svmx retrieve ssettimeline
|
Used to retrieve asset hierarchy configurations.
|
sf svmx retrieve assettimeline -o [email protected]
|
|
svmx retrieve entitlementrule
|
Used to retrieve auto-entitlement rules.
|
sf svmx retrieve entitlementrule -o [email protected]
|
|
svmx retrieve esarule
|
Used to retrieve entitled service assignment rules.
|
sf svmx retrieve esarule -o [email protected]
|
|
svmx retrieve expression
|
Used to retrieve expressions.
|
sf svmx retrieve expression -o [email protected]
|
|
svmx retrieve mapping
|
Used to retrieve mappings.
|
sf svmx retrieve mapping -o [email protected] -n <DEVELOPER_NAME,...>
|
|
svmx retrieve parule
|
Used to retrieve pricebook assignment rules.
|
sf svmx retrieve parule -o [email protected]
|
|
svmx retrieve screen
|
Used to retrieve screen configurations.
|
sf svmx retrieve screen -o [email protected]
|
|
svmx retrieve transaction
|
Used to retrieve transactions.
|
sf svmx retrieve transaction -o [email protected]
|
|
svmx retrieve wizard
|
Used to retrieve wizards.
|
sf svmx retrieve wizard -o [email protected]
|
|
svmx retrieve psc
|
Used to retrieve PSC configurations.
|
sf svmx retrieve psc -o [email protected]
|
|
svmx retrieve translation
|
Used to retrieve translations.
|
sf svmx retrieve translation -o [email protected]
|
|
svmx retrieve techattr
|
Used to retrieve asset technical attributes.
|
sf svmx retrieve techattr -o [email protected]
|
|
svmx retrieve mobileconfig
|
Used to retrieve mobile configrations.
|
sf svmx retrieve mobileconfig -o [email protected]
|
|
svmx retrieve flowsettings
|
Used to retrieve flow settings.
|
sf svmx retrieve flowsettings -o [email protected]
|
{
"objectAPIName": "Case",
"name": "Case Entitlement - A360",
"matchAccount": true,
"includeRootAsset": true,
"includeParentAsset": false,
"developerName": "CASE_Entitlement",
"coveredBy": "Asset",
"assetAPIName": "AssetId",
"accountAPIName": "AccountId",
"sequence": 1,
"resolutionMethod": "USE-WARRANTY",
"matchContact": false,
"isActive": true,
"expression": {
"type": "Standard Expression",
"objectAPIName": "Case",
"name": "CASE_Entitlement",
"expressionType": "EVER-RULE-CRITERIA",
"expressionDetailList": [
{
"sequence": 1,
"operator": "ne",
"operandType": "Value",
"operand": "Closed",
"fieldType": "PICKLIST",
"fieldAPIName": "Status"
}
],
"developerName": "CASE_Entitlement",
"description": "Case entitlement expression",
"criteria": "Status <> 'Closed'",
"advancedExpression": "1"
},
"description": "Default entitlement rule for Case",
"checkWarranties": true,
"checkContracts": true}