laptop and a wrench

Bogue

The Tracer.Trace() method unexpectedly returns zero results for named trace configurations in a utility network in the ArcGIS Pro SDK for .NET CoreHost application.

ArcGIS Pro SDK for .NET
Numéro d’ID de bogue BUG-000164643
EnvoiJanuary 26, 2024
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro SDK for .NET
Version trouvée3.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

The TraceArgument.ResultTypes is set to 0. The named trace configuration to JSON is exported and confirmed this: "resultTypes":[]. When creating the named trace configuration, the Result Types popup is set to include one or more result types (such as 'Selection'). The Pro UX automatically defaults to include 'Selection', but the developer's APIs (Pro SDK, JavaScript, Maps SDK for Native Apps) read the value literally. An issue is written up either Prevent the 'Add Trace Configuration' geoprocessing tool from running if Result Types is left blank, or Automatically append the 'Selection' result type if nothing is specified.

Solution de contournement

Recreate named trace configurations to have a valid Result Type.

Étapes pour reproduire

ID de bogue: BUG-000164643

Logiciel:

  • ArcGIS Pro SDK for .NET

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