ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Distribute Product Library

Disponible avec une licence Production Mapping.

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

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.

Utilisation

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

Syntaxe

arcpy.production.DistributeProductLibrary(source_product_library, target_product_library, data_model_version, {configuration_keyword})
ParamètreExplicationType de données
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
(Facultatif)

Data storage or configuration keyword. The default is Defaults.

String

Exemple de code

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

Environnements

  • Espace de travail courant

Informations de licence

  • Basic: Non
  • Standard: Requiert Production Mapping
  • Advanced: Requiert Production Mapping

Rubriques connexes

  • An overview of the Product Library toolset

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal