POST
|
I'm getting this error when trying to add individual /FeatureServer/5 id of the layers to a web map in the new map viewer. to get some basics out of the way - 1. Yes the layer works - you can add it via the classic viewer just fine. This only happens in the new viewer. 2. The layer comes from an arcgis enterprise deployment - and we add it to AGO while enabling storing the credentials. The difference between the new and old map viewer is that the new map viewer makes some extra requests to a "checkUrl" service.After that - the requests to the service do not include the token so they fail, probably leading to the error above:
... View more
04-13-2023
01:28 PM
|
1
|
0
|
258
|
IDEA
|
While I do agree, and I think this is a good idea, I do question the need for having 50+ fields in a single table. It may be possible to do a little more normalization on the database to reduce that field count.
... View more
12-28-2022
07:27 AM
|
0
|
0
|
571
|
POST
|
Here's a summary of my interactions with esri support: # if you are using a hosted layer: You can use addToDefinition to update the layer you want with the required index. This will then magically work as expected If you are using non-hosted (arcgis server) services 1. you can put a % in front of your searches. (haha - tell your non techy staff to remember that one) 2. you can configure a custom app to add a prefix % to the search widget - this would not apply to expb but would be a custom javascript app you'd write 3. you can also configure a custom app use an interceptor to search for all requests that contain the LIKE clause and apply the leading percent character. See some notes here: https://community.esri.com/t5/arcgis-online-questions/searching-adresses-requires-the-whole-exact-phrase/m-p/1238468#M49220
... View more
12-06-2022
01:50 PM
|
1
|
0
|
647
|
POST
|
One follow up question - what's the recommended approach to use the search widget in Dashboards when using non-hosted (arcgis server) services? It looks like this same issue now happens in dashboards as a result of the update: For example, typing "John" into a parcel owner field gives results: But typing "Hast" gives nothing because of the missing wildcard: where (LOWER(own_name) LIKE 'hast%')
... View more
12-06-2022
11:39 AM
|
0
|
1
|
764
|
POST
|
Thanks for that explanation! That makes a lot more sense now, I can see how users adding 10...20, 100 layers and expecting search to work on all of them could bring performance issues. maybe you're already considering this but maybe adding a GUI to give users an option to add an index to fields to help get the capability back would be helpful. I'm not super familiar with addToDefinition but could figure it out, however, i know a lot of folks would not be able to get that far.
... View more
12-05-2022
08:59 AM
|
0
|
3
|
772
|
POST
|
@MichaelSnook here's another alternative approach I found with the 4.x api - it basically uses the esri request interceptors to intercept matching /query: const log = debug('interceptors');
// fix the search query issue
esriConfig.request.interceptors.push({
urls: /\/query/,
before({ requestOptions }) {
if (/LIKE '[^%]/g.test(requestOptions.query?.where)) {
log('like request intercepted', requestOptions);
requestOptions.query.where = requestOptions.query.where.replace(/ LIKE \'/g, ' LIKE \'%');
}
}
})
... View more
12-01-2022
11:35 AM
|
3
|
0
|
794
|
POST
|
So...this is a pretty big change, if I configure a field in the map viewer like this: you've effectively changed the meaning of "Contains" it no longer means "Contains" and is in fact more of a "starts with" query. We now have now way to search for tax payer names by last name in this situation. Maybe you can provide a workaround to achieve this capability @RussRoberts ?
... View more
12-01-2022
08:51 AM
|
0
|
5
|
827
|
POST
|
I too would like to know the answer to this. I've already submitted a ticket to Esri support and will follow up when tech support provides an answer.
... View more
12-01-2022
08:44 AM
|
1
|
1
|
689
|
POST
|
Hi @JonathanQuinn I saw your post and am running into a similar issue where the indexer service won't start properly. I've enabled debug logs and am seeing this message: java.net.ConnectException: Connection refused at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:849) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:259) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246) at com.esri.arcgis.portal.ElasticSearchManager.a(ElasticSearchManager.java:487) at com.esri.arcgis.portal.ElasticSearchManager.createIndexWithMappingsAndSettings(ElasticSearchManager.java:621) at com.esri.arcgis.portal.Indexer.c(Indexer.java:1535) at com.esri.arcgis.portal.Indexer.run(Indexer.java:426) at com.esri.arcgis.portal.Indexer.main(Indexer.java:207) Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174) at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) at java.base/java.lang.Thread.run(Unknown Source) The server I'm running is a supported Ubuntu Ubuntu 20.04.5 LTS. I'm installing a single machine deployment on an AWS instance using ArcGIS Enterprise 11 installers. Any tips on this one?
... View more
11-09-2022
08:37 AM
|
0
|
1
|
1080
|
IDEA
|
When developing/configuring web applications it can be useful to change the ID of a layer in a given webmap to be more representative of what it is. For example, a parcel layer could be changed to "id": "parcels" rather than the default generated one: 17f4b9a5251-layer-13. Another benefit would be if we had already configured an app to use a certain webmap, that configuration now references a specific layer ID. If we want to or accidentally remove a layer and re-add it, the layer ID gets changed. This would allow us to fix the app (or apps) by correcting the layer ID to the old ID. If the new viewer could provide this functionality - it would be handy as a developer tool for those of us who build apps on the arcgis online ecosystem.
... View more
03-02-2022
11:08 AM
|
0
|
0
|
177
|
POST
|
@TanuHoqueI pm'd you with the data. Let me know if you were able to reproduce the issue or have any feedback.
... View more
07-16-2021
04:53 AM
|
0
|
0
|
805
|
POST
|
Hello - I have published a custom print task using Pro. It is nothing special, it just uses a few custom layout files from Pro. When I generate a PDF using the 4.x javascript api - there is an offset in the vector layers vs. the basemap. The vector layer is a parcel polygon layer that is projected in UTM 15 N. The Basemap is a vector tile layer with the same data. Any ideas what could be causing this?
... View more
07-12-2021
05:55 AM
|
0
|
2
|
876
|
IDEA
|
Hi Brad Niemand - do you have any guides you can recommend for migrating from the "Classic" to the "New" locators?
... View more
03-11-2020
11:18 AM
|
1
|
1
|
1245
|
Title | Kudos | Posted |
---|---|---|
1 | 04-13-2023 01:28 PM | |
3 | 12-01-2022 11:35 AM | |
1 | 12-06-2022 01:50 PM | |
1 | 12-01-2022 08:44 AM | |
7 | 11-30-2018 11:57 AM |
Online Status |
Offline
|
Date Last Visited |
07-10-2023
03:16 PM
|