laptop and a wrench

漏洞

Unable to retain changes to a layer's Field Configuration in the Attribute Table widget in ArcGIS Web AppBuilder, even if the layer is not selected to be automatically displayed in the Attribute Table widget, without having to configure the layer's pop-ups in Map Viewer or create a View Layer.

上次发布: February 4, 2022 ArcGIS Online
漏洞 ID 编号 BUG-000145036
已提交December 7, 2021
上次修改时间May 18, 2023
适用范围ArcGIS Online
找到的版本9.3
操作系统Windows OS
操作系统版本10.0
状态In Review

解决办法

Configure Pop-ups:

  1. Open the Item Details page for the affected layer.
  2. Select the Visualization tab.
  3. Select the Configure Pop-Ups button in the left hand panel.
  4. Click Configure Attributes.
  5. Uncheck the desired field to not display.
  6. Click OK.
  7. Click OK in the Configure Pop-Ups panel.
  8. Click Save Layer.
  9. Reload the related web app.
  10. Note when the layer is unchecked in the Show column of the Configure Attribute Table dialog box, only the fields selected to show in this workflow appear when opening the Attribute Table from the Layer List panel.

This workflow accomplishes the goal of only displaying certain fields while still allowing the user to display the unselected fields if necessary in the future (by configuring the layer to automatically show in the Attribute Table widget and selecting all fields in the Configure Fields option), however it is not a workflow that most users would think of and is somewhat cumbersome. This also does not help with retaining Field Alias changes.

Workaround to retain Field Name changes: Changing field name

  1. Open Item Details page of the desired layer.
  2. Click the Data tab.
  3. Click Fields.
  4. Click the desired field.
  5. Click the pencil button to the left of the field's name.
  6. Change the field's name to TestFieldNameChange.
  7. Click Save.
  8. Refresh the web app.
  9. Make sure the desired layer in Step 1 is unchecked in the Show column in the Configure Attribute Table panel.
  10. Open the layer's attribute table using the Layer List.
  11. Note the change to the field name is retained.

This workflow retains the change to the field name, however some users do not necessarily want to change their field names permanently and would rather have the Configure Layer Fields tool in ArcGIS Web AppBuilder retain the set alias' even when the layer is not selected to show automatically in the Attribute Table widget.

Create View Layer:

  1. Open the Item Details page of the desired layer.
  2. Click Create View Layer.
  3. Name View Layer.
  4. Click OK.
  5. Once the View Layer is created, click the Visualization tab in the View Layer's Item Details page.
  6. In the left hand panel, click the More Options button.
  7. Click Set View Definition, then Define Fields.
  8. Uncheck the desired field to remove it from the View Layer's attribute table.
  9. Click Apply.
  10. If necessary, click Save Layer.
  11. Create a new web map utilizing this View Layer (if working with several layers in an already established web map, remove the original Feature Layer from the web map and replace it with the View Layer).
  12. Save the web map.
  13. Go back to the web map's Item Details page and select Create Web App > Web AppBuilder.
  14. In the Configure Attribute Table box (go to the Widget tab, then click the Edit button on the Attribute Table widget in the left hand panel), note when clicking on the pencil next to the layer in the Configure Layer Fields column, only the layers included in the View Layer are available for display.
  15. Uncheck this layer in the Show column and click OK.
  16. Open the layer's attribute table via the Layer List panel and note that even though the layer is not selected to automatically display in the Attribute Table, only the fields selected to be included in the View Layer display.

重现步骤

漏洞 ID: BUG-000145036

软件:

  • ArcGIS Online

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项