Skip to main content

Change Version (Data Management Tools)

Summary

Modifies the workspace of a layer or table view to connect to the specified version.

Usage

  • The tool only works with feature layers and table views.

  • The enterprise geodatabase connection file or feature service that is used to create the input feature layer or table view will not be edited by this tool. Only the open workspace of the input feature layer, table view, topology layer, parcel layer, utility network layer, or trace network layer is changed to connect to the specified version.

  • Transactional and historical views are supported.

Parameters

Label Explanation Data type

Input Layer

The layer or table view that will connect to the specified version.

Note:

The sublayers of a topology layer, parcel layer, utility network layer, or trace network layer are not valid inputs.

Feature Layer; Table View; Topology Layer; Parcel Layer; Utility Network Layer; Trace Network Layer

Version Type

Specifies the type of version to which the input feature layer will connect.

  • Traditional versionConnect to a defined state of the database (traditional version).

  • Historical versionConnect to a version representing a defined moment in time, often specified by a time or historical marker.

  • Branch versionConnect to a branch version.

String

Version Name

(Optional)

The name of the version to which the input feature layer will connect. This parameter is optional if you're using a historical version.

String

Date and Time

(Optional)

The date of the historical version to which the input feature layer will connect.

Date

Include participating classes of controller dataset

(Optional)

Specifies whether the workspace of participating classes will also change.

The parameter is only applicable when the input layer is a topology layer, parcel layer, utility network layer, or trace network layer.

  • CheckedThe version of the participating classes of the controller dataset will change if they are from the same workspace as the controller dataset.

  • UncheckedOnly the version of the controller dataset will change.

Boolean

Derived output

Label Explanation Data type

Output Layer

The updated input dataset.

Feature Layer

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Limited
    Supported for branch versioning when using named user licensing.
  • Standard: Yes
  • Advanced: Yes