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?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Nov 28, 2012 at 1:38
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. Commented Nov 28, 2012 at 1:56
  • @Sam007 Ok.I will add more info for this question. Commented Nov 28, 2012 at 2:08
  • What version of arcgis server are you running? Commented Nov 28, 2012 at 4:17
  • @KirkKuykendall 10.0 Commented 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.

answered Nov 28, 2012 at 2:55
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

answered Nov 28, 2012 at 7:12

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.