laptop and a wrench

漏洞

In ArcGIS Pro ModelBuilder, using a .lyrx template file to define the output data symbology and labeling does not create the expected <LayerFile> tag in the metadata.

ArcGIS Pro
漏洞 ID 编号 BUG-000170565
已提交September 6, 2024
上次修改时间June 18, 2025
适用范围ArcGIS Pro
找到的版本3.3.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态As Designed

附加信息

The behavior of storing the layer file symbology in an output dataset is working as designed for model tools. The model must have an output parameter that is not type derived, then the output dataset's metadata will include the layer file associated with the model parameters Symbology property. The models that were submitted by this defect BUG either did not have an output parameter, or had a derived output parameter.

解决办法

Use tools in the model that have a standard output parameter. Set the tool output as a model parameter, and assign the model parameter's Symbology property to an existing layer file. When the tool runs, the output dataset metadata will store the reference to the layer file. As a result, when the dataset is added to any ArcGIS Pro map, the symbology and other layer properties will match those of the specified layer file.

重现步骤

漏洞 ID: BUG-000170565

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项