arcgislayers icon indicating copy to clipboard operation
arcgislayers copied to clipboard

Support AddToDefinition (add new field to feature service)

Open JosiahParry opened this issue 4 months ago • 2 comments

Discussed in https://github.com/R-ArcGIS/arcgislayers/discussions/177

Originally posted by sarahhurley March 27, 2024 Hi there - I am wondering if there is the capability of adding a field to a feature layer through the arcgislayers package? I'm working on setting up a workflow that may require us to add a field to a dataset over time (trying to avoid needing to republish it every time). I've tried to look through the documentation, but I've only found in the "Overwrite Hosted Feature Layer" section of the R-ArcGIS Bridge documentation a line that says "Truncating a service does not change the field definitions or permit us to add or remove fields to it. If you wish to do so, publish a new layer instead."

Thanks for your help!

JosiahParry avatar Mar 27 '24 14:03 JosiahParry