laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000170565
EnvoiSeptember 6, 2024
Dernière modificationJune 18, 2025
S’applique àArcGIS Pro
Version trouvée3.3.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000170565

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement