laptop and a wrench

Error

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
Número de ID del error BUG-000170565
EnviadoSeptember 6, 2024
Última modificaciónJune 18, 2025
Relacionado conArcGIS Pro
Versión encontrada3.3.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

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.

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000170565

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga