Hello, I am using ArcGIS Assistant to edit some JSON of an existing Enterprise Portal Hosted Feature Layer, but the edits do not appear in my Portal. I have a Hosted Feature Service with 3 layers and 1 table, and I have edited the JSON to remove the table from the dataset completely. If I log out/in to ArcGIS Assistant, I see that the edits persist and the JSON is valid. When I log in to my Portal, the table is still there and very functional (can rename the title, look at data, etc.).
Is there another step I need to do to have these underlying JSON edits properly applied to the hosted feature layer? I know ArcGIS Assistant is not a supported ESRI product, but it looks like the JSON editing worked for all intents and purposes. Is there something I'm missing? I have tried restarting the entire ArcGIS Server, refreshing the individual service using the Admin tools API, and clearing my cache.
Solved! Go to Solution.
@GrantSmith122 , you can use ArcGIS Server Administrator to do this.
1. Log into ArcGIS Server Admin and navigate to Services > Hosted > [service] > edit. I recommend copying the JSON to a good text editor like Notepad++.
2. Locate the layer id of the table, i.e. "3":
3. Delete all of the JSON for this object, including the preceding comma:
4. Locate the layerIds and delete the id from there:
5. Verify your JSON is correct in JSONlint. Then paste it back into the Admin page and click Save Edits.
@GrantSmith122 , you can use ArcGIS Server Administrator to do this.
1. Log into ArcGIS Server Admin and navigate to Services > Hosted > [service] > edit. I recommend copying the JSON to a good text editor like Notepad++.
2. Locate the layer id of the table, i.e. "3":
3. Delete all of the JSON for this object, including the preceding comma:
4. Locate the layerIds and delete the id from there:
5. Verify your JSON is correct in JSONlint. Then paste it back into the Admin page and click Save Edits.
Hey @JakeSkinner , this worked great! Thank you for the solution. The edits I made in ArcGIS Assistant were not appearing in the actual feature layer JSON in Server Admin, but after I made the changes there everything worked great. Thank you again!