POST
|
We have build an automated AGOL web map publishing tool that creates web maps with non-hosted, credential-embedded FeatureLayers that all point to a single service. Each unique web maps adds the layers with a query string parameter, e.g. the webmap JSON layers definition looks like: "operationalLayers" : [{ "id" : "Event_Collector_0", "layerType" : "ArcGISFeatureLayer", "url" : "https://utility.arcgis.com/usrsvcs/servers/33b430edb78b4b888933dd93b63309a0/rest/services/IMT/Event_Collector/FeatureServer/0?extraParameter=foo", "visibility" : true, "opacity" : 1, "mode" : 1, "title" : "Event_Collector - Event Point", "itemId" : "33b430edb78b4b888933dd93b63309a0", "layerDefinition" : null }, ...] This way, all edits performed on these webmaps appear at the destination server with their unique extra query string parameter (or POST body element), in this case "extraParameter": "foo". We use a SOI on the destination server to manipulate the data based on this parameter. This system works very well for almost all REST operations (query, applyEdits, createReplica, etc.) but Collector will not perform a syncronizeReplica operation with replicas it has created. Instead it performs an unregisterReplica and uploads a new replica, and pops up a sign in dialog that does not successfully sign in (since we've embedded credentials in the AGOL feature service, you shouldn't have to log in anyway). My best guess as to what's happening is that Collector is not recognizing replicas that do not fit a predefined url pattern, i.e. the query string is making it think the replica is invalid. If I publish the map without any query string, Collector works normally and syncs just fine. Any ideas out there?
... View more
05-19-2017
05:56 AM
|
0
|
0
|
410
|
POST
|
We are seeing apps built on the ESRI JS API version 3.17-3.19 crashing in iOS browsers when several dynamic map service layers are in the map. I have built a sample here: JS Bin - Collaborative JavaScript Debugging . The app will crash when viewed on an iPad and after a few zooms and pans. We did notice that this occurs more frequently on some iPads than others. Has anyone else seen this issue? Any workarounds besides reducing the number of layers? TIA. -Dan Walton
... View more
02-23-2017
02:18 PM
|
0
|
0
|
796
|
POST
|
Thanks! Once it is published online, will you post a link to the page?
... View more
02-29-2016
07:26 AM
|
0
|
0
|
11576
|
POST
|
To piggy-back on this question, does anyone know where to find the list of wkid to latestWkid mappings?
... View more
02-26-2016
09:29 AM
|
0
|
3
|
11576
|
POST
|
Well folks, it's a bug. Bug id is BUG-000092148 in case you want to track it.
... View more
11-13-2015
10:50 AM
|
0
|
0
|
256
|
POST
|
Ever since iOS 9 dropped, we have seen a fatal error in both Safari and Chrome for the iPad. Even most of the samples located at Samples | ArcGIS API for JavaScript exhibit this problem. All you have to do keep zooming in until the app crashes. Has anyone else seen this? Any workarounds? ESRI, any way to fix this? It's a major problem!
... View more
11-07-2015
03:13 PM
|
0
|
2
|
2276
|
POST
|
I was using this method and it broke at 3.14 as well. In the past I have seen subtle undocumented changes occur with IdentityManager. In this case it appears that you now have to supply the trailing "/arcgis" in the credential objects you hydrate, e.g.: credentials: [{ userId: username, server: serverName+ "/arcgis", //now we have to add this suffix at 3.14 token: token, expires: now + 36e5, ssl: false, creationTime: now, resources: [], scope: "server", validity: 60 }]
... View more
09-25-2015
10:36 AM
|
2
|
0
|
524
|
POST
|
No, I believe in order to achieve that you will have to implement a custom provider. In our case all we needed was to be able to validate existing users with encrypted passwords.
... View more
06-29-2015
08:24 PM
|
1
|
1
|
168
|
POST
|
Here are the steps I had to take to get this working: Copy the machineKey section from your old server's web.config to your new server's machine.config files (I did all 4 since I'm not sure what framework version or x86 or x64 are being used by Java). Edit your security-config.json file with the following settings: "userStoreConfig": { "type": "SQL_SERVER", "properties": { "applicationName": "your-application-name", "connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw" } }, "roleStoreConfig": { "type": "SQL_SERVER", "properties": { "applicationName": "your-application-name", "connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw" } } 3. Reboot the server. 4. Test the config settings.
... View more
06-26-2015
07:27 AM
|
0
|
3
|
808
|
POST
|
Can you index the Lat / Long fields? If so you can just add WHERE ([LAT] BETWEEN y1 and y2) AND ([LON] BETWEEN x1 AND x2) into a normal T-SQL query expression.
... View more
06-16-2015
10:23 AM
|
1
|
2
|
666
|
POST
|
Maybe I don't understand all the aspects of your question, but it seems fairly straightforward that, if you have access to SQL spatial query methods in your AJAX service, you should be able to do a fresh query of the point data when the user zooms on the map using the new map extent. If the query returns more than 10k points, return the polygon data, if not, return the point data.
... View more
06-16-2015
10:12 AM
|
0
|
4
|
666
|
POST
|
We were able to get this working using the stock ESRI SQL Configuration by setting the MachineKey section settings in the server's machine.config files.
... View more
12-11-2014
11:01 AM
|
0
|
5
|
808
|
POST
|
Yes, the number is BUG-000082517. Thanks for looking into it! Daniel Walton Lead Developer, intterra daniel.walton@intterragroup.com (612) 232-6784
... View more
10-13-2014
08:58 AM
|
0
|
0
|
686
|
Title | Kudos | Posted |
---|---|---|
1 | 06-16-2015 10:23 AM | |
2 | 09-25-2015 10:36 AM | |
1 | 06-29-2015 08:24 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|