The Export Data operation fails when the hosted feature service is published from a shapefile with a definition query applied.
上次发布: September 25, 2017Portal for ArcGIS
漏洞 ID 编号
BUG-000105159
已提交
May 15, 2017
上次修改时间
June 5, 2024
适用范围
Portal for ArcGIS
找到的版本
10.5
操作系统
Windows OS
操作系统版本
10.0
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
ArcMap's Query Builder quotes the fields for shapefiles. The created service ends up having the quotes in its definition query causing this problem. This is a known limit. Please refer to the workaround.
解决办法
1. Remove the definition queries from the layers before publishing. The filters can be applied later in the Portal for ArcGIS web map to get the same effect as definition queries.2. Export the shapefile to a file geodatabase, and then publish the service. Definition queries remain this way. Data from published service can be exported without any problem.3. Publish from ArcGIS Pro instead of ArcMap. ArcGIS Pro's query builder does not quote any fields (shapefiles, and data from FGDB's and EGDB's)