There are several workflows that require you to connect to a version to access and work with your versioned geodatabase datasets.
- Use the Geodatabase Connection Properties dialog box for the database connection to set the versioning type and connect to a specific traditional version. The version properties are stored as part of the database connection file and used when loading data to a map or performing tasks that use the database connection.
- When working in an active map, use the Change Version dialog box to connect to a specific version for viewing and editing.
Use the Geodatabase Connection Properties dialog box
When you first make a connection to an enterprise geodatabase using the Database Connection dialog box, the default setting for the connection uses traditional versioning and connects to the default version. You can change the versioning type and the version you are connected to by opening the Geodatabase Connection Properties dialog box for the database connection.
Follow these steps to set the database connection to a specific traditional version:
- Connect to your geodatabase in the Databases folder in the Catalog pane.
- Right-click your database connection and click Geodatabase Connection Properties .
- Ensure that Traditional is checked for Versioning Type.
- In the version list, click either the default version or a named version to connect to.
- Click OK.
Use the Change Version dialog box
When data is initially added to the map from the enterprise geodatabase, the default version is used unless the geodatabase connection properties are modified to use a different version. You can change the version that the layers reference using the Change Version dialog box. When you change versions, all layers in the map that share the same data source are changed to the version you select.
Follow these steps to change versions in an active map:
- In the Contents pane, click the List By Data Source button .
- Right-click the enterprise geodatabase data source whose version you want to change and click Change Version .
When changing the data source version using Change Version and edits have not yet been saved, a dialog prompt will appear, providing a choice to save or discard edits before changing the version.
- Choose a version from the list and click OK.
When you change from one version to another, all layers present in the map change to the version you choose.
You can also create a version on the Versioning tab and change to this new version for active map layers.