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 extractionDatabase, operationOverrides, and excludedOperations to the base product definition before running dataExtraction, preProcessing, 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_25K
    • TM_50K
    • JOGA_250K
    • MGCP_50K_Replica
    • MGCP_50K_SDEConnectedEditing
  • 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:

  • extractionDatabase—overrides the extractionDatabase value 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.
  • operationOverrides—overrides values in the parameters key-value pairs for the operation with the specified id.
  • excludedOperations—an array of operation IDs to skip for the selected version.

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:

  • sheetIDField
  • featureDataset
  • productDataSource

Behavior and relationships

  • The selected version's extractionDatabase (when present) replaces the product-level value for the current job only.
  • operationOverrides are applied by matching the operation id. Only the listed parameters are replaced; other parameters on the operation are unchanged.
  • excludedOperations are matched by operation id and 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 operationOverrides and excludedOperations must be stable. Use GUIDs (as in the installed product definitions) rather than human-readable names.
  • Layout templates referenced by template must 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_50K example, drawn from an MTM50 product definition, defines three product versions:

  • extractionDatabase
  • operationOverrides
  • excludedOperations
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"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:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
"productVersions": [
  {
    "name": "MGCP_50K_Replica",
    "extractionDatabase": "MGCP_TRD_4_6.gdb",
    "productDataSource": "MapService"
  },
  {
    "name": "MGCP_50K_SDEConnectedEditing",
    "extractionDatabase": "",
    "productDataSource": "SDE"
  }
]

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.