laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000170565
EingereichtSeptember 6, 2024
Zuletzt geändertJune 18, 2025
Gilt fürArcGIS Pro
Gefunden in Version3.3.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusAs Designed

Zusätzliche Informationen

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.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000170565

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln