Show / Hide Table of Contents

Method GetFormattedValue

GetFormattedValue(PopupField)

Returns a formatted String representation of the current popup field's value.

Declaration
public string GetFormattedValue(PopupField popupField)
Parameters
Type Name Description
PopupField popupField

The PopupField for which to get the formatted value.

Returns
Type Description
System.String

The formatted field value string based on the given PopupField information.

Remarks

If Expressions is not empty, the PopupField may be using expressions with Arcade FeatureSet functions. Use EvaluateExpressionsAsync() to evaluate the Arcade expressions before trying to get the formatted System.String representation of the popup field's value, otherwise it may return an empty string. If the field is part of a CodedValueDomain, the Name is returned.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.