1

I have published a mapservice without feature access on a remote machine only with a file geodatabase (shapefile on the disk). Because of limits of authority to create a spatial database(don't have permission to create sqlserver express 2008 for build arcsde to enable feature access for this map service).

However, I have to add a new field into the attribute table of this mapservice via the ArcServer Javascript API .Just like the operation on ArcGIS desktop ,as shown below:

enter image description here

Is this possible? Any hints to implement it?

4
  • Will need more info. What kind of field so you want to add? Will it be on the basis of some input delivered by the user? What do you mean by limit of authority to create spatial database? Please provide more information as the question is pretty vague. Define your purpose of creating new fields and what kind of spatial database are you using.
    – Sam007
    Nov 28, 2012 at 1:56
  • @Sam007 Ok.I will add more info for this question.
    – Vent Lam
    Nov 28, 2012 at 2:08
  • What version of arcgis server are you running? Nov 28, 2012 at 4:17
  • @KirkKuykendall 10.0
    – Vent Lam
    Nov 28, 2012 at 6:45

2 Answers 2

4

There is a C++ SDK of FileGDB API to handle FileGDB, and this may help you. You can build a web service wrapping local operations of FileGDB API, make it RESTful to be consumed by Javascript API.

4

I solved this problem by publishing a gp service with "Add Field" toolbox.To invoked this gp service via javascript api.As shown :enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.