POST
|
Let's say a feature class has 20 features. How would you delete a single feature (ex: OBJECTID = 7) using tools and ModelBuilder? I know there is a DeleteFeatures tool, but that deletes ALL of the features. So basically, I want to define a feature class and an expression and only delete the features that meet the expression...
... View more
06-08-2012
11:57 AM
|
0
|
3
|
2039
|
POST
|
Did you enter a valid Bing Maps key for bingMapskey? Make sure you are doing this during the initialization (typically the function called here: dojo.addOnLoad(initialize);) Also, make sure you are requiring the following: dojo.require("esri.virtualearth.VETiledLayer"); And if your 'map' is called something other than 'map' - change 'map' to whatever you named it.
... View more
05-31-2012
09:23 AM
|
0
|
0
|
871
|
POST
|
You're welcome. You may want the id back in there if you ever want to get the checkbox using dojo.byId. I just made the id: "checkBox" for simplicity. When writing modules I tend to set the ids to the module name, to make sure they are unique. ex: id: 'cbxModule_SearchFilter_Option1'.
... View more
05-31-2012
09:17 AM
|
0
|
0
|
620
|
POST
|
It looks like after a point is moved, if I click anywhere else in the map - the move gets saved. Since there is no documentation on properties and events for the editorWidget, does anyone know if there is perhaps a "showApplyEdits button" that is hidden by default when viewing the infoWindow for a featurelayer edit? The "Delete" button is there and there is a property to hide it (although it is not documented).
... View more
05-30-2012
12:49 PM
|
0
|
0
|
281
|
POST
|
basemap = new esri.virtualearth.VETiledLayer({ bingMapsKey: '<key from microsoft to use bing maps>', mapStyle: esri.virtualearth.VETiledLayer.MAP_STYLE_ROAD }); map.addLayer(basemap);
... View more
05-30-2012
11:47 AM
|
0
|
0
|
871
|
POST
|
With the formatter, you would return a CheckBox: return new dijit.form.CheckBox({ id: "checkBox", name: "checkBox", value: "Check Me", checked: false, onChange: function () { alert('onChange called'); } } });
... View more
05-30-2012
11:44 AM
|
0
|
0
|
620
|
POST
|
While editing with the Editor Widget, after moving a point, the edit is not applied. It is only applied if I change one of the field values after the move to the new location.
... View more
05-30-2012
11:36 AM
|
0
|
3
|
577
|
POST
|
Where can I find information on properties and methods for esri.dijit.editing.Editor? Is it possible to 'pause' editing?
... View more
05-22-2012
11:53 AM
|
0
|
1
|
628
|
POST
|
Is there anyway to wire in a Confirm Delete message when the Delete button is pressed while using the standard Editor Widget?
... View more
03-27-2012
08:11 AM
|
1
|
0
|
2263
|
POST
|
UPDATE: I now have it working. It required a reboot and assigning the ArcGISSOC user db_owner permissions in SQLServer. For some reason db_datawriter is not enough to add the features to the geodatabase.
... View more
02-07-2012
10:44 AM
|
0
|
0
|
192
|
POST
|
This is the response after the POST for: http://localhost:51547/FSI_JS_API_Template/proxy.ashx?http://hawk/ArcGIS/rest/services/APA_Edit/FeatureServer/1/applyEdits {"error":{"code":400,"message":"Unable to complete operation.","details":["Unable to apply edits"]}}
... View more
02-07-2012
08:10 AM
|
0
|
0
|
654
|
POST
|
This is the console message from Firebug: Error: Unable to load http://hawk/proxy/proxy.ashx?http://hawk/ArcGIS/rest/services/APA_Edit/FeatureServer/1/applyEdits status:0 http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.6 Line 14
... View more
02-07-2012
07:21 AM
|
0
|
0
|
654
|
POST
|
The code is the exact Sample code from ESRI's sample site for the JavaScript API and Editing. I simply replaced their feature service and geometry service with the ones running on my ArcGIS Server. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm
... View more
02-07-2012
06:45 AM
|
0
|
0
|
654
|
Title | Kudos | Posted |
---|---|---|
2 | 3 weeks ago | |
1 | 07-16-2024 09:47 AM | |
1 | 05-16-2018 06:12 AM | |
1 | 03-27-2012 08:11 AM | |
2 | 06-26-2020 05:59 AM |
Online Status |
Offline
|
Date Last Visited |
Saturday
|