ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.NetworkDiagrams Namespace / NetworkDiagram Class / GetSourceAttributeValues Method
Name or alias name of the source table.
Array of names or alias names of the attributes to query.
Indicates whether to use coded value names when returning attributes of associated source objects.
Version

GetSourceAttributeValues Method
Returns diagram features source attribute values as a JSON string. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public string GetSourceAttributeValues( 
   string sourceName,
   string[] attributeNames,
   bool useCodedValueNames
)

Parameters

sourceName
Name or alias name of the source table.
attributeNames
Array of names or alias names of the attributes to query.
useCodedValueNames
Indicates whether to use coded value names when returning attributes of associated source objects.

Return Value

The JSON string containing the attributes values.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
This JSON string can be used to transfer data into external systems, such as network calculation or analysis software.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also