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

Distribute Product Library

Available with Production Mapping license.

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

Summary

This tool transfers your ArcGIS Data Reviewer Desktop batch jobs and editing field configurations from one product library to another. It creates a lightweight version of your product library containing all your configured batch jobs while enabling automatic attribution validation. It also carries over field configurations to manage the visibility and behavior of attributes within Feature Manager.

Usage

  • The workspaces must be geodatabases.

  • The user credentials in the connection file must have permission to create data in the workspace.

  • You can use a configuration keyword for file and enterprise geodatabases. Each geodatabase type and configuration supports different keywords.

  • If an empty geodatabase is chosen, the production library schema will be applied to it before adding in the data model version and files.

  • If a prepopulated product library is chosen, this tool will overwrite any present data model version. If not, it will append the chosen data model version to the existing product.

Syntax

arcpy.production.DistributeProductLibrary(source_product_library, target_product_library, data_model_version, {configuration_keyword})
ParameterExplanationData Type
source_product_library

The product library that contains the batch jobs and field configurations that will be transferred.

Workspace
target_product_library

The product library that will receive the batch jobs and field configurations from the Source Product Library.

Workspace
data_model_version
[data_model_version,...]

The version of the data model to which the desired batch jobs and field configurations are related.

String
configuration_keyword
(Optional)

Data storage or configuration keyword. The default is Defaults.

String

Code sample

DistributeProductLibrary (stand-alone script)

The following stand-alone sample script demonstrates how to use DistributeProductLibrary for an ArcGIS Data Reviewer Desktop batch job transfer.

# Name: DistributeProductLibrary_example.py
# Description: Distributes the field configurations and batch jobs from one product library to another to create a lightweight version to run your editing environment.

# Import system modules
import arcpy

# Check out extension
arcpy.CheckOutExtension("Foundation")

# Define variables
source_product_library = r"C:\data\Editing_Sample.gdb"
target_folder_path = r"C:\ProductLibrary"
target_name = "NewProductLibrary"
data_model_version = "Edit (1.0.0.0)"
configuration_keyword = "DEFAULTS"

#Create new geodatabase to hold the target product library
target_product_library = arcpy.CreateFileGDB_management(target_folder_path, target_name)

# Execute Distribute Product Library
arcpy.DistributeProductLibrary_production(source_product_library, target_product_library, data_model_version, configuration_keyword)

# Check in Production Mapping license
arcpy.CheckInExtension("Foundation")

Environments

  • Current Workspace

Licensing information

  • Basic: No
  • Standard: Requires Production Mapping
  • Advanced: Requires Production Mapping

Related topics

  • An overview of the Product Library toolset

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