laptop and a wrench

Bug

Filtering using a field with Thai characters in the Add Category Selector does not work in the Operations Dashboard for ArcGIS web app.

Last Published: June 26, 2018 ArcGIS Online
Bug ID Number BUG-000113965
SubmittedMay 15, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version foundN/A
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

The query would work if a “N” prefix is added to the where clause (i.e. “YEs_NO = N'ใช่'”). The fact that the N prefix works suggests that there’s a possible mismatch between the encoding of the field type (e.g. in Unicode) and the input character (e.g. non-Unicode). The prefix can let the database know how to handle the conversion. However, the "N" prefix is a Microsoft SQL Server convention. Inserting it into the WHERE clause will imply that Operations Dashboard knows the implementation details of a feature service (e.g. what database is used), and in a RESTful system we should not have this knowledge. The service in question actually has the useStandardizedQueries flag disabled. Our recommended workflow is that useStandardizedQueries=true should be enabled. When this flag is enabled, the feature service code will get in the middle between the client and the database and will manipulate the query being built, and the where clause we send will work as is (i.e. without the "N" prefix).

Steps to Reproduce

Bug ID: BUG-000113965

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options