Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

FeatureLayer Editing on AGS Layer #9

Closed
mauradaffern opened this issue Aug 22, 2014 · 4 comments
Closed

FeatureLayer Editing on AGS Layer #9

mauradaffern opened this issue Aug 22, 2014 · 4 comments

Comments

@mauradaffern
Copy link
Contributor

Hello,

Do you have any plans to include update, delete and add operations to the AGS featurelayer class?

Thanks,
Maura

@achapkowski
Copy link
Collaborator

There are no plans to add these functions to in v1 (master branch) of the code base. I can try and work it into the dev branch.

What is your use case for needed this functions?

The functions should be similar if not exact to the host feature service update/delete/add, etc.. so you could probably reuse that code logic. If I don't get to it before you need it, please update a fork and submit your changes.

Thank you,

Andrew

@mauradaffern
Copy link
Contributor Author

The use case is pretty simple - I need to update the value in a flag field ("1" for on and "0" for off). I'll see what I can do in terms of modifying the existing code.

Do you know if there are any significant differences in terms of how features are handled between AGS and AGOL services that would impact this function?

Thanks,
Maura

@mauradaffern
Copy link
Contributor Author

Thanks for the suggestion - I added the query and updatefeature functions to the AGS layer and it seems to work as expected. I'll update a fork shortly.

@achapkowski
Copy link
Collaborator

Please see last dev commit on 8/25/2014. Issue has been addressed there. If you did your own fork into the current version, please feel free to merge it back into master.

achapkowski pushed a commit that referenced this issue Nov 11, 2016
Getting arcrest repo into mine
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants