Production Mapping ライセンスで利用できます。
概要
This tool transfers your ArcGIS Data Reviewer for 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 for 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