laptop and a wrench

漏洞

In ModelBuilder, the Append tool setting for the 'Use the Field Map to reconcile schema differences' option does not preserve the field mapping selected.

上次发布: February 20, 2018 ArcGIS Pro
漏洞 ID 编号 BUG-000111603
已提交February 13, 2018
上次修改时间May 31, 2023
适用范围ArcGIS Pro
找到的版本2.1
服务器平台Windows OS
客户端平台10.0 64 Bit
Version Fixed2.5
状态Fixed

描述

Note:
BUG-000111603 was fixed in ArcGIS Pro version 2.5.

In ArcGIS Pro ModelBuilder, when using the Append tool with the 'Use the Field Map to reconcile schema differences' Schema Type, the field mapping is not preserved after saving and closing the model.

For example, in the image below, a new source NEWAHADI2 from the input dataset is selected and mapped to the output field AHA_ID. However, the model reverts to the default Field Map setting after saving and closing.

The model goes back to the default Field Map setting after saving and closing

原因

The behavior encountered is a software defect that is specific to ArcGIS Pro. For more information, refer to BUG-000111603.

解决办法

As a workaround, select one of the following options:

Use the Append tool from the Geoprocessing pane

  1. In the Toolboxes pane, navigate to Data Management Tools > General > Append.
  2. In the Append pane, set the parameters for Input Datasets and Target Dataset.
  3. For Schema Type, select Use the Field Map to reconcile schema differences from the drop-down list.
  4. For Output Fields, select the output field, and click Add New Source to add a source for the field.
  5. Click Run.
The Append tool pane

The image below shows the values appended to the Output Field successfully.

The table is successfully appended with all the AHA_ID field are matched

Use the Merge tool

While the Append tool combines input datasets to an existing target dataset, the Merge tool combines input datasets to a new output dataset.

  1. In the ModelBuilder tab, click the Tools icon in the Insert group.
  2. In the Find Tools search box, search and double-click the Merge tool.
The Find Tools search box
  1. In the model view, double-click the tool to open the Merge pane.
  2. In the Parameters section, for Input Datasets, select the desired feature class from the drop-down list.
  3. Set a name and location for Output Dataset.
  4. Click OK.
The Merge tool pane

Use the Append tool in ArcMap ModelBuilder

  1. Open ModelBuilder in ArcMap.
  2. Open the Search window. In the Search pane, search the Append tool and drag the tool to the model view.
  3. Double-click the tool to open the Append pane.
  4. Set the parameters for Input Datasets and Target Dataset.
  5. For Schema Type, select NO_TEST from the drop-down list.
  6. For Field Map, right-click the desired field and select Add Input Field.
  7. In the Add Input dialog box, add the new source field and click OK.
  8. Click Apply > OK.
The Append tool in ArcMap ModelBuilder

The image below shows the Field Map setting is preserved after adding a new source in the Field Map parameter.

The setting preserves the field selected after adding new source

重现步骤

漏洞 ID: BUG-000111603

软件:

  • ArcGIS Pro

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

发现关于本主题的更多内容