Bug
| Bug-ID-Nummer | BUG-000139558 |
|---|---|
| Eingereicht | April 30, 2021 |
| Zuletzt geändert | July 3, 2025 |
| Gilt für | ArcGIS Online |
| Gefunden in Version | 8.4 |
| Betriebssystem | N/A |
| Betriebssystemversion | N/A |
| Status | Fixed |
1) Log in to the ArcGIS Online organizational account.
2) Go to Content and click My Content. Select the hosted feature layer to open the item detail page.
3) On the item details page, click the Data tab.
4) On the Data page select the layer from the Layer dropdown list that needs the new field added to it.
5) Click the Fields button to view the Display Name, Field Name and Type.
a. Click the Add button to add a new field. Fill out the Field Name, Display Name, Type and Length.
b. Click the Add New Field button when finished.
6) Go to the Visualization tab and select the layer you just added the field to.
7) On the Visualization page, click the Configure Pop-up icon on the layer
8) Click Configure Attributes
9) In the Configure Attributes window, check the Display check box of the new field added.
10) Click OK to close the Configure Attributes window. Click OK again.
11) Click Save Layer to save the changes.
12) Click the Overview tab
13) On the Overview tab, click the subtype layer in the Layers section.
14) Under the URL section, click the View link to get to the rest endpoint.
15) Add admin after /rest/ in the url to get access to the admin page. arcgis/rest/admin/services
16) Scroll down to the bottom and click the Update Definition link in the Supported Operations section.
17) Copy and paste the JSON in in the text area into a text editor.
18) Select and copy the following sections one at a time from the JSON you just pasted, into a new text editor page:
a. fields
b. types
c. subtypes
19) In the new editor, add open curly bracket { at the top and a closed curly bracket } at the very bottom.
20) Find the field added in the fields section and add the domain and coded values along with a unique domain name and code for each value.
21) In the types>domains section add the "fieldname" : {"type" : "inherited"} at the bottom of the domains section. Make sure to add a comma after the last domain before adding the new one.
a. repeat this for each type in the types section.
22) Copy the domain from the fields section and paste it into the subtypes section along with the name of the field. Repeat this for each subtype.
23) Copy and paste the JSON into a JSON online validator to verify JSON syntax is correct.
24) Highlight and delete the existing JSON in the Update Layer Definition text area and paste the new valid JSON, click the Update Layer Definition button.
25) For any views created from the main Feature Layer (hosted), copy and paste the valid JSON you just modified and update the layer definition for the same layer in the view.
26) Go to the Visualization tab and select the layer you just updated.
27) On the Visualization page, click the Configure Pop-up icon on the layer
28) Click Configure Attributes
In the Configure Attributes window, check the Display check box of the new field added
29) Click OK to close the Configure Attributes window. Click OK again.
30) Click Save Layer to save the changes. .
Bug-ID: BUG-000139558
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen