We made a feature layer (hosted view) out of a feature service and then added a few fileds on the feature service. But that update is not propagated into the feature layer. we don't want to delete and recreate the view as other applications (dashboards, etc) depend on it at this time. How can we overwrite or update it using some automation script so that it include the new data fields?
I checked on all the posts and was not able to find a good solution. The closest I came to was using the feature collection and then it actually overwrites the data, which I think is not what we are interested in since this feature layer is a hosted view.
Thank you for your help.