generateServiceDataMap command

The generateServiceDataMap command creates the service data map XML file for importing a solution or solution template into another environment.

Syntax

The following syntax includes line breaks to format the command for reading. Enter the command and options on a single line without any line breaks.
configmgr_cl generateServiceDataMap 
 -solutionPackage package_file
 -file service_data_map_name
[-silent] [-force] [-help]

Parameters

-solutionPackage package_file
Specifies the full path and file name the solution package ZIP file that contains the solution to import. If the path includes spaces, put the entire path in double quotation marks. For example, enter "C:\Solution Packages\Credit Dispute Solution.zip".
-file service_data_map_name
Specifies the full path and file name for the service data map XML file to create. The directory structure in the path must already exist. You can use any valid file name, but the .xml extension is recommended. If the path includes a directory name with spaces, enclose the entire path in double quotation marks. For example, enter "C:\Solution Packages\sevice_data_map.xml".
-silent
Optional: When you specify the -silent parameter, no prompts or informational messages are shown in the console, but the errors are written to the log. Failure messages and validation error messages are shown as needed, such as messages about missing passwords or invalid port numbers. If you run the execute command to run all the activities in a profile and you specify the -silent parameter, you must also specify the -force parameter.
-force
Optional and applies only when the -silent parameter is used. When you specify the -force parameter, the activity is run without pausing for required responses to validation error messages, such as messages about missing passwords or invalid port numbers.
-help
Optional: Shows a brief message on the command syntax instead of running the command.

Sample commands

The following examples include line breaks to format the command for reading. Enter the command and options on a single line without any line breaks.
Create the service datamap file for a solution package.
The following command generates the service data mapping file for the Credit Dispute Solution.zip solution package:
configmgr_cl generateServiceDataMap 
 -solutionPackage "C:\Solution Packages\Credit Dispute Solution.zip"
 -file "C:\Solution Packages\sevice_data_map.xml"
Show the help for the generateServiceDataMap command.
The following command shows the help for the generateServiceDataMap command:
configmgr_cl generateServiceDataMap -help