|
POST
|
There is no post and reconcile in javascript. You are editing in the version posted (or version defined at 10.2) and its last in last out . That version would then be reconciled back at the office, or you could publish a geoprocessing tool to do it
... View more
02-19-2014
11:02 AM
|
0
|
0
|
756
|
|
POST
|
After applying the ArcGIS Server 10.1 Quality Improvement Patch we're getting errors on queries using the orderByFields parameter. query.outSpatialReference = map.spatialReference; query.returnGeometry = false; query.outFields = ["*"]; query.where = "1=1"; query.orderByFields = ["OBJECTID"]; The js api encodes this into the request as orderByFields=OBJECTID <-- FAILS with "{"error":{"code":400,"message":"Unable to complete operation.","details":[]}}" Running the same query through the rest service explorer results in that parameter being encoded as orderByFields=["OBJECTID"] <--- WORKS I can confirm our endpoint table Supports Advanced Queries and I have tested this against the latest api version. Is there another query parameter that I'm missing? Terrible work around but have you tried query.orderByFields = ["[\"OBJECTID\"]"];
... View more
02-19-2014
08:56 AM
|
0
|
0
|
1371
|
|
POST
|
Looks like we figured it out at the same time Im in Manatee County just a couple hours down I-75
... View more
02-18-2014
10:09 AM
|
0
|
0
|
1016
|
|
POST
|
The locate park by name function is doing this query query.where = "UPPER" + "(" + nameAttribute + ")" + " LIKE '%" + dojo.byId("txtAddress").value.trim().toUpperCase() + "%'"; I am not sure what the "txtAddress" item is, but you can try that query directly on the rest endpoint.
... View more
02-18-2014
07:31 AM
|
0
|
0
|
4065
|
|
POST
|
The javascript api is self contained and bundles with it any required libraries (dojo, etc are all included) I would trying running it local
... View more
02-14-2014
03:45 AM
|
0
|
0
|
1039
|
|
POST
|
I really hope someone from esri seems this. This is exactly what I have been very vocal about them NOT taking away our commandline tools for SDE. Query layers just dont have the complete functionality we need yet. Glad you got it working -Jeff
... View more
02-13-2014
08:16 AM
|
0
|
0
|
842
|
|
POST
|
you can try scoping your timeSlider to a global variable. The easiest way i found to do that is (sample from a custom full extent button) var customFullExtent = function customFullExtent() {
map.centerAndZoom(initialCenter, initialLevel);
};
//create as global variable so you can call from HTML
lang.setObject("customFullExtent", customFullExtent); then I can call customFullExtent() from anywhere
... View more
02-12-2014
11:11 AM
|
0
|
0
|
1022
|
|
POST
|
There is no z data unless you add your own layer with elevation, the javascript API is 2D
... View more
02-12-2014
04:07 AM
|
0
|
0
|
604
|
|
POST
|
Is it actually doing the remove? I.e. if you call registry.byId('timeSlider') are you getting a result? after the remove, if you call it again, are you getting null?
... View more
02-12-2014
03:55 AM
|
0
|
0
|
2932
|
|
POST
|
enigma is right, and you were on the right track. The problem is you are destroying the dom element, not the registered dijit you should be destroying the "timeSlider" from the registry, not the div is exists in domConstruct doesnt always work in my experience you should try timeSlider.destroy() or registry.remove(timeSlider)
... View more
02-11-2014
10:12 AM
|
0
|
0
|
2932
|
|
POST
|
just curious, do you have background printing enabled?
... View more
02-11-2014
09:45 AM
|
0
|
0
|
1429
|
|
POST
|
Right, as far as general concepts are concerned, if a user doesnt log in, then all users are the same "web" user. If you are willing to hardcode users, and have a way of identifying users (ip, etc..) you could hardcode and instantiate the identitymanager on a per session basis, and then use the user_id However it sounds like you have some workflow issues to resolve prior to the application issues, i.e. Want user uniquely identified in application, do not want user to have to identify themselves. Basically if you don't want them to do it, you have to do it for them
... View more
02-11-2014
04:16 AM
|
0
|
0
|
1776
|
|
POST
|
I am not sure if you can draw the polygons on top but not have them interfere with onclick. I just realize that is what you might be trying to do If that is the case, you might want to switch from onClick to a query type event where you can specify the layer
... View more
02-11-2014
03:11 AM
|
0
|
0
|
2464
|
|
POST
|
Ahhh that is exactly the problem. Since Feature layers and Graphics are both GraphicLayers, your graphics are on top of your feature layer. from the API Each map contains a GraphicsLayer by default, accessible using the Map.Graphics property. Beginning with v1.4, you can create your own graphics layers and add them to the map. Graphics layers can be reordered within the group of graphics layers. However, the graphics layer in Map.Graphics is always on top So that is why your map graphics are always on top. So what you will have to do is create a graphicsLayer, and add your polygons to THAT (instead of map.graphics). This will allow the featureLayer (which IS in map.graphics) to ride on top of your polygons
... View more
02-11-2014
03:10 AM
|
0
|
0
|
2464
|
|
POST
|
nliu is correct, you need to be able to identify in ArcMAP. I just tested my spatial view and it identifies fine in arcmap You should be doing a spatial view, or a query layer, but not both.
... View more
02-10-2014
12:03 PM
|
0
|
0
|
842
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|