ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Distribute Product Library

获得 Production Mapping 许可后可用。

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

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.

使用方法

  • 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.

语法

arcpy.production.DistributeProductLibrary(source_product_library, target_product_library, data_model_version, {configuration_keyword})
参数说明数据类型
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
(可选)

Data storage or configuration keyword. The default is Defaults.

String

代码示例

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")

环境

  • 当前工作空间

许可信息

  • Basic: 否
  • Standard: 需要 Production Mapping
  • Advanced: 需要 Production Mapping

相关主题

  • An overview of the Product Library toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明