Description
An array of versions for the product. Each version provides a distinct layout template and, starting at ArcGIS Enterprise 11.2, optional overrides for the extraction database, individual operation parameters, and excluded operations. Product versions are how a single product definition can support multiple cartographic specifications, scales, or data-source configurations without duplicating the full definition.
How it is used
When a job is created, the caller selects one of the product versions by name. The service then uses that version's template to build the layout and applies any extraction, operation, and excluded to the base product definition before running data, pre, and operations.
Expected values
Each entry is a JSON object with the following properties:
name—required. The product version's identifier, such as one of the following:MTM_25 K TM_50 K JOGA_250 K MGCP_50 K _Replica MGCP_50 K _SDE Connected Editing
template—required for map products. Either a path to a local layout template or the file name of a layout template installed with the ArcGIS Topographic Mapping server extension product files, such as one of the following:MTM25 _Layout.pagx JOGA_Layout.pagx TPC_Layout.pagx ONC_Layout.pagx CTM50 _Layout.pagx
The following optional properties are supported:
extraction—overrides theDatabase extractionvalue at the map product level. Set this to an empty string when the version edits data directly in an SDE-connected enterprise geodatabase rather than extracting locally.Database operation—overrides values in theOverrides parameterskey-value pairs for the operation with the specifiedid.excluded—an array of operation IDs to skip for the selected version.Operations
Workflow-only product definitions (for example, MGCP and TDS task group products) can also include additional properties on each version such as one of the following to support replica, map service, or SDE-connected workflows:
sheetID Field featureDataset productData Source
Behavior and relationships
- The selected version's
extraction(when present) replaces the product-level value for the current job only.Database operationare applied by matching the operationOverrides id. Only the listed parameters are replaced; other parameters on the operation are unchanged.excludedare matched by operationOperations idand removed from the run for that version.- If two versions share the same
template, they still run independently and can carry different overrides.
User considerations
- Operation IDs referenced by
operationandOverrides excludedmust be stable. Use GUIDs (as in the installed product definitions) rather than human-readable names.Operations - Layout templates referenced by
templatemust exist on the server. File names without a path resolve from the installed product files; paths must be readable by the server account. - Adding a new product version is the preferred way to support an alternate scale, edition, or data source. Avoid editing the base product properties to switch behavior between callers.
Example
The following MTM example, drawn from an MTM50 product definition, defines three product versions:
extractionDatabase operationOverrides excludedOperations
"productVersions": [
{
"name": "MTM_50K",
"template": "MTM50_Layout.pagx",
"extractionDatabase": "",
"operationOverrides": [
{
"id": "26C62049-A11F-4D5B-BC80-00CF3597555C",
"parameters": [
{ "name": "input_map", "value": "Map" }
]
}
],
"excludedOperations": [
"45B62049-A11F-4D5B-BC80-00CF3597555C"
]
},
{ "name": "MTM_50_Customized", "template": "MTM50_Layout.pagx" },
{ "name": "MTM_50_Special_Use", "template": "MTM50_Layout.pagx" }
]The following example, drawn from an MGCP workflow task group product, shows how a workflow product uses multiple versions to support replica and SDE-connected editing data sources:
"productVersions": [
{
"name": "MGCP_50K_Replica",
"extractionDatabase": "MGCP_TRD_4_6.gdb",
"productDataSource": "MapService"
},
{
"name": "MGCP_50K_SDEConnectedEditing",
"extractionDatabase": "",
"productDataSource": "SDE"
}
]