PROBLEM
In ArcGIS Experience Builder, when using a layer with a numeric data type as the search source, the Search widget does not return expected results unless a complete value is entered. When the value entered is incomplete, the Search widget does not return the expected result, as shown the image below.
However, the widget returns the expected result only when the value entered is complete, as shown in the image below.
This is expected behavior. Unlike string fields, the Search widget does not support returning results for numeric fields if incomplete values are entered. Refer to ArcGIS Experience Builder: Usage notes for more information.
Create a new string field and populate the field with the numeric data in ArcGIS Online or ArcGIS Pro.
Calculations can be performed on hosted feature layers with 'Enable Sync' or 'Keep track of changes to the data' enabled to populate a new string field with values from the existing numeric field. Refer to ArcGIS Online: Manage settings for editing for more information.
<String_field> = <Numeric_field>
Arcade is a scripting language designed for use within ArcGIS, providing advanced calculations, flexibility, and functionality in comparison to SQL. To populate a new string field with values from the existing numeric field using Arcade, refer to FAQ: Is it possible to change the field data type created in ArcGIS Online? for instructions.
The Calculate Field tool in ArcGIS Pro offers more capabilities as it provides various expression types, such as Python, VBScript, SQL, and Arcade, allowing for more flexibility while transferring the numeric data to a new string field. Refer to the Use the Calculate Field tool section in How To: Change the data type of an existing field in ArcGIS Pro for instructions.
When using the string field as the search source, the expected results are returned even when an incomplete value is entered, as shown in the image below.
Article ID: 000034449
Get help from ArcGIS experts
Download the Esri Support App