| 不具合 ID 番号 |
BUG-000145036 |
| 送信されました | December 7, 2021 |
| 最終更新日 | May 18, 2023 |
| 適用対象 | ArcGIS Online |
| 見つかったバージョン | 9.3 |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 10.0 |
| ステータス | In Review
この問題は確認中です。 確認プロセスでは、その問題が必要なすべての情報を備え、簡単に理解できること、既存の問題と重複していないこと、および有効な不具合または機能拡張の要求であることが確認されます。 このフェーズでは、説明または追加情報の提供をお願いする可能性があります。
|
対処法
Configure Pop-ups:
- Open the Item Details page for the affected layer.
- Select the Visualization tab.
- Select the Configure Pop-Ups button in the left hand panel.
- Click Configure Attributes.
- Uncheck the desired field to not display.
- Click OK.
- Click OK in the Configure Pop-Ups panel.
- Click Save Layer.
- Reload the related web app.
- 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
- Open Item Details page of the desired layer.
- Click the Data tab.
- Click Fields.
- Click the desired field.
- Click the pencil button to the left of the field's name.
- Change the field's name to TestFieldNameChange.
- Click Save.
- Refresh the web app.
- Make sure the desired layer in Step 1 is unchecked in the Show column in the Configure Attribute Table panel.
- Open the layer's attribute table using the Layer List.
- 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:
- Open the Item Details page of the desired layer.
- Click Create View Layer.
- Name View Layer.
- Click OK.
- Once the View Layer is created, click the Visualization tab in the View Layer's Item Details page.
- In the left hand panel, click the More Options button.
- Click Set View Definition, then Define Fields.
- Uncheck the desired field to remove it from the View Layer's attribute table.
- Click Apply.
- If necessary, click Save Layer.
- 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).
- Save the web map.
- Go back to the web map's Item Details page and select Create Web App > Web AppBuilder.
- 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.
- Uncheck this layer in the Show column and click OK.
- 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.
再現の手順