laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000164643
EingereichtJanuary 26, 2024
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro SDK for .NET
Gefunden in Version3.2
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusAs Designed

Zusätzliche Informationen

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.

Workaround

Recreate named trace configurations to have a valid Result Type.

Schritte zur Reproduzierung

Bug-ID: BUG-000164643

Software:

  • ArcGIS Pro SDK for .NET

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