操作方法

操作方法:在 ArcGIS Web AppBuilder 的过滤器微件中,根据 CSV 数据创建图层选择

Last Published: July 20, 2023

摘要

In ArcGIS Web AppBuilder, the Filter widget limits the visibility of features in a layer when the expression criteria is specified. As the Filter widget references data from a hosted feature layer, adding the CSV data to the widget requires the CSV file to be published as a hosted feature layer. This article provides the workflow to enable the Filter widget in ArcGIS Web AppBuilder to reference a layer selection created from a CSV data.

过程

  1. Upload the CSV file to ArcGIS Online as a hosted feature layer. Refer to ArcGIS Online: Publish a CSV file for instructions to do this.
  2. In ArcGIS Online, create the web app. Refer to ArcGIS Web AppBuilder: Create your first app for more information.
  3. Click the Widget tab, and select any of the numbered widget placeholder to open the Choose Widget window.
  4. Select the Filter widget.
  5. Click OK.
Selecting the Filter widget from the Choose Widget window
  1. In the Configure Filter window, click New filter.
  2. Select the hosted feature layer in the Layer drop-down menu.
  3. Click OK.
Selecting the hosted feature layer from the Layer drop-down menu in the Configure Filter window

The image below displays the ArcGIS Web AppBuilder with the enabled Filter widget referencing the hosted feature layer created from the CSV data file.

The Filter widget referencing the hosted feature layer created from the CSV data file.

文章 ID:000026253

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项