You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-c, --cml-api=<value> (required) Unique CML API Name to be created.
76
-
-d, --workspace-dir=<value> Directory where working files are located, exported rules JSON and where CMLs will be created.
77
-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org` configuration variable is already set.
78
-
-r, --pcr-file=<value> (required) Name of the JSON file that contain exported standard Product Configuration Rules.
79
-
-v, --products-file=<value> Name of the JSON file that contain exported Products from PCM (if not present products will be fetched automatically).
80
-
-x, --additional-products=<value> Comma-separated list of additional product IDs for which CML types should be generated.
77
+
-d, --workspace-dir=<value> Directory where working files are located, exported rules JSON and where CMLs will
78
+
be created.
79
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
80
+
configuration variable is already set.
81
+
-r, --pcr-file=<value> (required) Name of the JSON file that contain exported standard Product
82
+
Configuration Rules.
83
+
-v, --products-file=<value> Name of the JSON file that contain exported Products from PCM (if not present
84
+
products will be fetched automatically).
85
+
-x, --additional-products=<value> Comma-separated list of additional product IDs for which CML types should be
86
+
generated.
81
87
--api-version=<value> Override the api version used for api requests made by this command
82
88
83
89
GLOBAL FLAGS
84
90
--flags-dir=<value> Import flag values from a directory.
85
91
--json Format output as json.
86
92
87
93
DESCRIPTION
88
-
Converts BRE based Standard Configurator rules represented as JSON to CML and saves it as a pair of CML and association files.
94
+
Converts BRE based Standard Configurator rules represented as JSON to CML and saves it as a pair of CML and
95
+
association files.
89
96
90
-
Before you execute this command make sure to migrate you PCM or that you are performing migration of rules within the same org.
97
+
Before you execute this command make sure to migrate you PCM or perform migration of rules within the same org.
91
98
92
-
Authenticate to the orgs and export BRE based Standard Configurator rules using sf data export bulk plugin and save results in a JSON file, see examples.
99
+
Export BRE based Standard Configurator rules using sf data export bulk plugin and save results in a JSON file:
100
+
sf data export bulk -o breMigOrg --query "SELECT ApiName, ConfigurationRuleDefinition,Description, EffectiveFromDate,
101
+
EffectiveToDate, Id, IsDeleted, Name, ProcessScope, RuleSubType, RuleType, Sequence, Status FROM
102
+
ProductConfigurationRule WHERE RuleType = 'Configurator' AND ApiName = 'myTestBundle'" --output-file
0 commit comments