CreateMigrationWorkspace

Title  Create Migration Workspace

Description

This tool is used to create a data model and data loading workspace suitable for use with the Data Loading tool.

Usage

          
This tool uses a simple data mapping workbook that has been populated with source/target mappings to extend the data model of an asset package to support the data as defined by the mappings.
Use the 'Create Simple Data Mapping' tool to create a blank source/target mapping workbook.

License

Standard

Syntax

CreateMigrationWorkspace (source_database, asset_package, mapping_spreadsheet, service_territory, output_folder, output_name, {dlt_mapping_table}, {add_missing_fields})

Parameter Explanation Data Type
source_database Dialog Reference

The source feature dataset or workspace you want to migrate

DEWorkspace
asset_package Dialog Reference

The asset package you want to use as your base data model

DEWorkspace
mapping_spreadsheet Dialog Reference

Populated simple data mapping spreadsheet

DEFile
service_territory Dialog Reference

Features from this class will be loaded to the Asset Packages Service Territory class.

DEFeatureClass
output_folder Dialog Reference

Folder to contain the output

DEFolder
output_name Dialog Reference

Name for the newly created files

GPString
dlt_mapping_table (Optional) Dialog Reference

A table that will be used to perform substring matching for datasets, values, and attribute domain coded value descriptions. Use the table to create matches or block them

GPRecordSet
add_missing_fields (Optional) Dialog Reference

Copy fields from the source data that do not exist in the target

GPBoolean

Code Samples