|
POST
|
Thanks so much! I currently have a support ticket open regarding this but I will give your soltuion a try and see if that resolves the issue.
... View more
01-10-2018
12:54 PM
|
0
|
0
|
2663
|
|
POST
|
Bumping this up again... Or maybe I'm the only one here uses anything outside of AGOL/Dojo?
... View more
01-08-2018
01:40 PM
|
0
|
0
|
680
|
|
POST
|
I'm wondering if you can you confirm or deny my theory: when selecting a mapped or local drive in the Catalog, ArcGIS Pro is enumerating the entire contents, killing performance, and displaying this thing for 5 minutes before I can proceed to navigate the folder structure. One explanation I received from an Esri representative on this issue was that disallowing connections to a drive root was for performance reasons. The .NET Framework and Windows APIs (upon which ArcGIS Pro is built) provide FAST access to files and folders, what's going on here?
... View more
01-05-2018
11:24 AM
|
2
|
1
|
2554
|
|
POST
|
In addition to Dojo, I'm wondering what libraries and frameworks everyone out there in AGOL land are using. My team builds custom applications using ASP.NET MVC and the ArcGIS Online JavaScript API. We also use a couple other popular libraries like jQuery and Bootstrap. I've also been experimenting with incorporating Knockout.js. I've seen a few posts on GeoNet and elsewhere about people also leveraging additional libraries and frameworks in their AGOL/Dojo applications such as React and Angular. So my question to GeoNet is: in addition to AGOL JS API/Dojo, what libraries and frameworks do you like to use in your applications?
... View more
01-03-2018
09:15 AM
|
0
|
1
|
1033
|
|
POST
|
I'm attempting to insert some records into my feature service using the applyEdits() method, however I'm receiving an error message because I'm not sure how to include data for a field in the feature service table that is of type 'esriFieldTypeDate'. Here is some quick sample code - I have an object that contains my feature to be inserted: var newFeature = {
"geometry": {
"x": -97.2736,
"y": 32.8164
},
"attributes": {
"SiteID": 999,
"Name": "Test Site 1",
"LeaseSigned": "12/1/2016, 9:00 AM"
},
"spatialReference": {
"wkid": "102100"
}
};
var features = [];
features.push(newFeature); I also have an object that contains the input params for applyEdits(): var params= {
f: 'json',
adds: JSON.stringify(features),
updates: "",
deletes: "",
gdbVersion: "",
rollbackOnFailure: true,
useGlobalIds: false,
attachments: ""
}; However, I am receiving this error because I'm not sure how to format the input data for esriFieldTypeDate: {
"error":{
"code": 400,
"message":"Unable to complete operation.",
"details":["Setting of value for LeaseSigned failed."]
}
} Does anybody know how to format the date time field correctly or can point me in the direction of some examples? I've tried all different types of date formats but can't seem to figure this out. Thanks!
... View more
11-28-2017
05:46 PM
|
0
|
2
|
2006
|
|
POST
|
Here is the request header: GET /proxy/proxy.ashx?https://demographics7.arcgis.com/arcgis/rest/services/USA_Demographics_and_Boundaries_2017/MapServer/2?f=json&callback=dojo.io.script.jsonp_dojoIoScript5._jsonpCallback HTTP/1.1
Host: myproxyserver.com
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Accept: */*
Referer: https://localhost/my_application
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8
Cookie: [removed]
And here is the response header: HTTP/1.1 200 OK
Cache-Control: max-age=0,must-revalidate
Content-Type: text/plain;charset=utf-8
ETag: 6dfb1ba3
Vary: Origin
Server: Microsoft-IIS/8.5
Set-Cookie: AGS_ROLES="nGGHe9fnJdtqgrxv/F457aPODB3PII6+MSSUUbBUPUTFqmHBA0KbNNNKphQAiCnKG1HjLTBjpl0/sBdgKzNqdPYLY75CroUOHRS1I8+SG87wUFamgBZb7OKBemucaf3O/3MbDnjgy1VS02jMPpD3O9QK2LrPN/lN8P5gvUvHjB8FY19FcRB9SKLYwGievzdwfKT9kJyRGaUPfWHpL1SMJ+n9Pn+xGBREr+oTFHXazQBaD59XcKRqRpTvrB5bnIWcmGy6+jpfv11KySMB1lEO6I6ZOPEy8yCxyQJvB6Ebot8="; Version=1; Max-Age=60; Expires=Mon, 16-Oct-2017 16:21:41 GMT; Path=/arcgis/rest; HttpOnly
Server:
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Access-Control-Allow-Origin: *
Date: Mon, 16 Oct 2017 16:20:39 GMT
Content-Length: 239728 And here is a link to the body of the request - it's huge! https://pastebin.com/Zq0LAm8i I'm only specifying these layers, so I'm not sure why it's making such a huge request: outFields: ["NAME", "EMP_CY", "INDMANU_CY", "MEDHINC_CY", "OCCTRAN_CY", "POPDENS_CY", "POPGRWCYFY", "TOTHH_CY", "UNEMP_CY", "CIVLBFR_CY", "UNEMPRT_CY"]
... View more
10-16-2017
09:34 AM
|
0
|
1
|
3890
|
|
POST
|
Upon further inspection, I can see that layers I have set to visible = false are still being loaded as a resource, and some like the Esri demographic layer are taking 2+ seconds to load. Without knowing a whole lot about the JS API, I would say that based on what I see, setting the visible property to false doesn't actually do anything to lazy load or otherwise reduce the time needed to load a feature layer resource.
... View more
10-16-2017
09:06 AM
|
0
|
3
|
3893
|
|
POST
|
Thanks for the reply, I had a suspicion that setting the "visible" property to false was already doing what I was attempting to accomplish. I had been tasked with making sure all the application resources are loaded efficiently, and was asked to explore if there's any improvement/benefit of attempting to lazy (or partially) load a feature layer, delaying any heavy lifting until after the user clicks the layer on/off checkbox. But it appears that is already the case, so no need for me to reinvent the wheel here!
... View more
10-16-2017
07:52 AM
|
1
|
5
|
3893
|
|
POST
|
What is the best way to lazy load a feature layer for a map? In my application, I have a map and handful of layers, some are turned off by default on launch. These feature service layers that are off by default I would like to delay loading until the user clicks that layer's on/off check box. Is this possible within the ArcGIS Online JS API? The solution I've brainstormed so far is to set the layer's url to an empty feature service when the layer is first instantiated. Inside the checkBox.on("change") function I would change the url to the correct feature service url, refresh() the layer, then proceed with the rest of the code that handles the layer rendering and tables. I don't want to reinvent the wheel when possible, so I'm looking for a documented or better way of handling this while I roll my own solution.
... View more
10-15-2017
02:17 PM
|
0
|
9
|
4690
|
|
POST
|
Thanks for the reply, this is an interesting implementation of a testLayer() function. I'm giving this a try in my application right now!
... View more
09-11-2017
10:01 AM
|
0
|
1
|
2450
|
|
POST
|
Thanks for the helpful reply - I've implemented something similar and this appears to be what I need.
... View more
09-11-2017
10:00 AM
|
0
|
0
|
2450
|
|
POST
|
The web app, web map (and all the feature layers I created and included in the map) are set to share publicly.
... View more
09-10-2017
04:17 PM
|
0
|
0
|
1850
|
|
POST
|
Before I load and begin querying all the feature service layers in my map that I have created with the ArcGIS JavaScript API, I would like to first verify that the service is responding. What I'm trying to accomplish is to check if any urls are not responding, and if so, skip those feature services and allow my application to keep loading without them. What is the best/recommended way to do this?
... View more
09-08-2017
09:44 PM
|
1
|
6
|
3635
|
|
POST
|
Unfortunately I do not have access to Esri tech support as this is for a personal project using the free version of AGOL. I'm stumped by this because it worked fine for months up until Wednesday, then all of the sudden the errors started appearing. I had made no changes to the web app or map recently.
... View more
09-08-2017
09:52 AM
|
0
|
1
|
762
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 10-11-2022 06:59 AM | |
| 1 | 06-30-2025 08:37 AM | |
| 1 | 06-30-2025 07:57 AM | |
| 1 | 02-17-2025 09:07 PM | |
| 4 | 02-17-2025 03:18 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-21-2025
10:50 AM
|