Hello everyone,
I recently came across a discussion where a user encountered a challenge in ArcGIS Online that I believe many of us might face. The user had two hosted feature layers and used the "Joined View Layers" tool in ArcGIS Online to create a hosted feature layer joined view. However, they ran into an issue when they wanted to add a new field to one of the datasets and discovered that the "Add Field" button was unavailable. This is a known limitation, as adding fields to hosted feature layers with a dependent joined feature layer view is not directly possible.
A helpful solution was suggested, but it's quite technical, and I'm struggling to fully understand it. Therefore, I'm reaching out to see if anyone could create a short video tutorial demonstrating this process. This video would be immensely helpful to me and others who might encounter a similar issue.
Here's a summary of the proposed solution for updating the hosted feature layer joined view:
- Note the Item ID and URL of the view.
- Delete the view.
- Add the field to the source feature layer as desired.
- Recreate the joined view.
- Use the Python API to update each web map and app that referenced the old view, replacing the old view's URL and Item ID with the new equivalents in their JSON definitions.
This solution appears to be an efficient workaround to the problem of adding a field without needing to reconfigure all applications after deleting the view.
My request, or rather my plea, is for someone to create a short YouTube video demonstrating this for many of us who are more visually inclined or less familiar with Python scripting.
Thank you in advance to anyone who can assist with this!