ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Post Version

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Posting is the process of applying the current edit session to the reconciled target version during version geodatabase editing. Before a version can be posted, it must be reconciled with a target version and all conflicts must be resolved.

Legacy:

This is a deprecated tool. The Reconcile Versions tool should be used to post versions following a reconcile.

Usage

  • Posting synchronizes the edit version with the reconciled version and saves the data.

  • Posting can't be undone since you are applying changes to a version that you are not currently editing.

  • If the reconciled version is modified between reconciling and posting, you will be notified to reconcile again before posting.

Syntax

arcpy.management.PostVersion(in_workspace, version_name)
ParameterExplanationData Type
in_workspace

The ArcSDE geodatabase containing the edit version to be posted. The default is to use the workspace defined in the environment.

Workspace
version_name

Name of the edit version to be posted to the target version.

String

Code sample

import arcgisscripting
gp = arcgisscripting.create()
 
gp.postversion( "Database Connections\Connection to workspace.sde", "housing")

Environments

  • Current Workspace
  • Output CONFIG Keyword
  • Scratch Workspace

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics

  • Reconcile Versions
  • A quick tour of reconciling a version

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal