|
BLOG
|
@Bryan_Chandler et all - You solution for updating the max record count of your feature service might work if you only have a small number of records, but what if I am trying to query a feature service with 500k records? A query returning 500k features would take too long. Ultimately, the design of this feature seems to operate as so: When you load the form, a single query to the feature service retrieves however many records it can and populates the select_one from that list. Seemingly, how it should work, is when you are typing into the select_one text box, it should perform a dynamic query (where=fieldname LIKE '%{inputtext}%') to retrieve a smaller list of results, similar to how the search widget in the JavaScript works. After the 3rd character, the search widget just starts querying the REST endpoint after each character, resulting in an ever-narrowing down list of results that match your text input. Does anyone have any ideas on how to get this to work for much larger number of records?
... View more
02-11-2022
08:35 AM
|
0
|
0
|
60604
|
|
POST
|
I am using Jupyter with most recent version of the Python API. In my 10.9 Portal, I have created a feature layer item and set a filter and simple renderer (using the visualization tab) for the point feature service the feature layer points to. When I use Jupyter to retrieve that feature layer item (by itemid) and add it to a new map in my notebook, the layer that draws is the underlying feature service (all records and the symbology that was set on publication of the map service). It doesn't honor the filter or the symbology I set in Portal. Is this expected? If so, is there any plans to support honoring the Portal item properties in that regard?
... View more
02-04-2022
07:33 AM
|
0
|
0
|
849
|
|
POST
|
Running ArcGIS Enterprise 10.9 and Earth 1.14. I created a filtered feature layer in Portal (the rest service has the full data, but the feature layer has a filter and specific symbology set). When I use earth to add that layer from Portal, it just adds the underlying feature service (all points with whatever symbology is specified on Server). It doesn't show the filtered symbolized view that it would if I loaded the layer into the MapViewer in Portal. It's just a simple renderer, single symbol, nothing complicated. Is this something that is explicitly not supported by ArcGIS Earth? And if so, why?
... View more
02-04-2022
06:20 AM
|
0
|
5
|
2219
|
|
POST
|
No specific reason - maybe to save on costs? Avoid having a machine that only runs automation scripts a couple times day and is otherwise up and doing very little? Really I'm just trying to understand / get a list of different ways folks have approached automation in the cloud env (and if lambda is a part of their solution I would like to understand that as well)!
... View more
01-31-2022
11:02 AM
|
0
|
1
|
2873
|
|
POST
|
Got it - thanks for your input! I guess I'm looking for folks working automation using cloud resources. If they just deployed an additional AWS server just for automation, or ran python scripts from an ArcGIS Server machine using its Python install. In all cases, it seems like lambda isn't a very good option.
... View more
01-31-2022
10:52 AM
|
0
|
3
|
2876
|
|
POST
|
Thank you! A lot of our scripts are updating our enterprise geodatabases, mostly ETL pipelines, but also some automated map generation, etc. etc. Curious how and where you are automating the execution of these scripts?
... View more
01-31-2022
08:02 AM
|
0
|
1
|
2898
|
|
POST
|
Curious if anyone has examples / best practices for Python automation for cloud-deployed ArcGIS Enterprise instances (AWS - deployed on Linux servers). Here are my thoughts: 1. AWS Lambda - seems like memory limits and inability to load in arcpy libraries to AWS lambda (even Python API is difficult to load in AWS Lambda) would make that a non-starter except in limited circumstances 2. Using one of the ArcGIS Server instances would work since Python 3 is installed with it, but would need to create a new conda env, etc. and since Pro cannot be installed on a Linux server, would only be limited to workflows not using Pro, unless you create those aprx's on a different machine and then copy them to the Linux server. Which leads me to the most likely solution: 3. Windows machine on AWS Workspaces with ArcGIS Pro installed. Ensure access to your enterprise geodatabases, etc. Create scripts, arpx's here, publish to Enterprise from this machine, and use Windows task scheduler for automation. I'm sure I am missing a lot of options- curious what other folks have done for automation / task servers in a Linux cloud deployment of Enterprise.
... View more
01-31-2022
07:23 AM
|
0
|
8
|
2970
|
|
POST
|
The bundled jquery version is 1.12.4 and anything below 3.5.0 is susceptible to XSS attacks. Installing security patches did not fix the issue... Apparently the version of jquery triggering a vulnerability to our security scan is contained in C:\Program Files\ArcGIS\Server\framework\runtime\spark\jars\spark-core_2.11-2.4.4.jar C:\Program Files\ArcGIS\Server\framework\lib\shared\hadoop-yarn-common-2.7.3.jar C:\Program Files\ArcGIS\Server\framework\lib\shared\scala-compiler-2.11.12.jar C:\Program Files\ArcGIS\Server\framework\lib\shared\spark-core_2.11-2.4.4.jar C:\Program Files\ArcGIS\Server\framework\runtime\spark\jars\Hadoop-yarn-common-2.9.2.jar C:\Program Files\ArcGIS\Server\framework\runtime\spark\jars\scala-compiler-2.11.12.jar
... View more
08-16-2021
08:54 AM
|
0
|
0
|
3409
|
|
POST
|
I am running ArcGIS Server 10.8.1 on a local server (WS 2016), and have noticed Apache Spark running on port 8081 (http). Our security scan picked it up because there is an older version of JQuery bundled with whatever site is on that port. We opened a case with tech support, who claimed it had nothing to do with Esri because ArcGIS Server does not use port 8081 (it is certainly not listed in the documentation). However, if I turn off ArcGIS Server service in windows service manager, the 8081 Apache Spark site goes down, so I assume it has something to do with ArcGIS Server (as the accessibility of the site is tied to whether ArcGIS Server service is running or not) There is no other Esri software installed on that server. Our security configuration for server is https only, tls1.1 and 1.2, and HSTS enabled. Can anyone shed any light on this - I can find nothing in the documentation about Apache Spark or port 8081 being used with ArcGIS Server. Thanks! I am running ArcGIS Server 10.6.1 on different servers and do not see this issue there.
... View more
08-16-2021
08:44 AM
|
0
|
3
|
3422
|
|
POST
|
@AndyGup Indeed - I had just stumbled across that realization myself. GET requests work. POST requests without any data/parameters also work. It seems that using a JavaScript object for parameters will automatically trigger the request headers to have Content-Type: application/json, which causes the preflight request. I don't know anything about preflight requests, how they interact with ArcGIS Server, or why this might cause the entire operation to fail, but a little bit of reading indicated that Content Type of application/x-www-form-urlencoded does not generate this pre-flight request. So at least in this instance, I was able to get this to work by using a URLSearchParams object as the parameters structure of a JSON object. const fs = "https://srvesridev4w.eon.local:6443/arcgis/rest/services/EON/FAA/MapServer/0/query";
const params = new URLSearchParams();
params.append("f", "json");
params.append('where', "LocationID='LAX'");
const config = {
method: 'post',
url: fs,
data:params,
}
const results = await axios.request(config); This generates the response that I need, without a preflight request or any CORS errros. Obviously using a plain JSON / JS object would be easier, and I'm unclear if that's possible in this scenario, but hopefully this will help someone who stumbles across this in the future.
... View more
05-07-2021
08:58 AM
|
1
|
0
|
12792
|
|
POST
|
So I am not actually using Esri's JavaScript API in this case, but am trying to make a request using the standard axios library to an ArcGIS Server endpoint. const fs = "https://srvesridev4w.eon.local:6443/arcgis/rest/services/EON/FAA/MapServer/0";
const config = {
method: 'post',
url: fs,
data:{where:"LocationID='LAX'", f:"json"},
}
const results = await axios.request(config); It returns the following error: 'https://srvesridev4w.eon.local:6443/arcgis/rest/services/EON/FAA/MapServer/0' from origin 'http://localhost:8080' has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response. Everything in the documentation says ArcGIS Server is CORS enabled (we're using 10.6.1), and in fact using Esri's JavaScript API does not generate these CORS errors (what I'm trying to accomplish does not justify the overhead the JS API creates). So this would indicate the issue is on the front end, but any headers I add to the request doesn't help. Does anyone have any suggestions?
... View more
05-07-2021
07:58 AM
|
0
|
2
|
12853
|
|
POST
|
Any resolution to this? We are having a similar problem!
... View more
05-04-2021
01:49 PM
|
0
|
0
|
2422
|
|
POST
|
Is configuring a 2-node HA ArcGIS Server using a Windows CIFS share for the config-store and server directories supported? Anyone ever have any issues with this setup, or have any best practices or gotchyas? I'm not in the SysAdmin world and there is no mention of CIFS share anywhere in the documentation so don't know if it meets the requirements for HA Server. Also we plan to migrate an active-standby 2-node Portal to this share as well.
... View more
05-04-2021
09:57 AM
|
0
|
2
|
2661
|
|
IDEA
|
I think being able to color the cluster symbol by the number of features would be very helpful - I find the eye gets drawn a little more to the colors than the size, esp. with a lot of clusters on the page. Being able to call out large clusters with a visual variable other than size would be great.
... View more
04-27-2021
11:47 AM
|
0
|
0
|
7081
|
|
POST
|
Right, I was just about to say that it seems that the feature layer renderer doesn't have access to the cluster_count variable - only the popup. When I tried just replacing the visual variable field in the example you sent with cluster_count, nothing happened (i.e. no symbol was rendered, just the label). The symbol property of the cluster config does allow to change the style of the cluster symbol, but still can't really assign a class breaks renderer to the cluster symbols. The feature would be very useful in the future. There was a plugin for the 3.x api I use to cluster features (see screenshot). Not having this kind of control isn't a deal-breaker in refactoring to 4.x, but it would certainly be helpful.
... View more
04-27-2021
11:46 AM
|
0
|
1
|
4042
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-23-2026 11:00 AM | |
| 1 | 07-08-2025 11:33 AM | |
| 1 | 11-07-2023 08:32 AM | |
| 2 | 10-01-2025 06:52 AM | |
| 5 | 09-08-2025 07:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-04-2026
01:35 PM
|