|
POST
|
@CraigGillgrass You're initial recommendation to read the blog did the trick for me. I admit i did have to read it a couple times to get the important piece about using the 'General' type of Attachment element. It seems that when using that element the 'keywords' parameter is not added to the query string. So all of our existing attachments are not filtered out. Thank you for tip!
... View more
Thursday
|
0
|
1
|
52
|
|
POST
|
@CraigGillgrass Thanks for the link. The blog post certainly provides some context for what has changed. I'm still unsure of why the keywords parameter gets added to the queryAttachments request, or how i can control or configure what values it includes. Is there a blog that explains that? I'm probably missing a lot of important details and nuance, but it seems like i need to redo any maps used in ExBldr that includes layers with attachments (assuming we want to be able to edit the data) - is that correct?
... View more
Wednesday
|
0
|
2
|
105
|
|
POST
|
Hello. The map in our Experience includes a layer with attachments enabled. When performing an 'Edit' widget query, the queryAttachments query string includes the argument 'keywords=photos'. Because none of our attachments have keywords, no attachments are returned. When doing an 'Info' widget query, 'keywords' is not included in the query string so the associated images/attachments are returned as expected. Edit URL: https://services2.arcgis.com/<foo>/arcgis/rest/services/<bar>/FeatureServer/0/queryAttachments?f=json&token=<token>&keywords=photos&objectIds=145934&returnMetadata=true Info URL: https://services2.arcgis.com/<foo>/arcgis/rest/services/<bar>/FeatureServer/0/queryAttachments?f=json&token=<token>&objectIds=145934 So a couple of questions: Why does the Edit query include the keywords query paramater? Can we configure the Edit query so it does not include the keywords query parameter? If not, can we configure what the keywords value is - maybe setting it to empty string? Is there a way that we can update our attachments (1000s of them) to set a keywords value? How can we set the attachments keywords value on future attachments added to the layer? Thank you.
... View more
Wednesday
|
0
|
7
|
140
|
|
POST
|
@KenGalliher1 I noticed that i left a bad parameter in my code example (I've been trying every option to see what might matter and some slop did not get removed). The right parameter is attachments_sync_direction='bidirectional', In my original post i had that value as 'download', which does not work.
... View more
a week ago
|
0
|
0
|
146
|
|
POST
|
@KenGalliher1 Thanks for the code example. I changed the code as necessary for my hosted feature service and ran it. unfortunately, i got the same results: an other wise perfect file geodatabase with my related tables, attachment tables, etc - but there we no rows in the feature class, the related table, nor either of the attachment tables. The only table with any rows was the GDB_ServiceItems table. I don't know why really, but a hunch is that the attachments in the related table are causing the problem. Does your hosted feature service have attachments enabled on the related table (index 2 i believe in your example)?
... View more
a week ago
|
0
|
0
|
228
|
|
POST
|
Thanks for your response. I'm a bit behind you so i'll answer this response first. Here's my python code that uses `replicas.create()`. As noted in my question, the code returns an empty file geodatabase... edit_date_filter = "EditDate >= '"+str(last_successful_run_date)+"'"
feat_srvc = arcgis.features.FeatureLayerCollection(settings.AGOL_FEATURE_SERVICE_URL, agol_security_token)
export_job = feat_srvc.replicas.create(
replica_name='NameDoesNothing',
layers=[settings.FS_IDX, settings.CONDITION_IDX],
layer_queries={
str(settings.FS_IDX):{
"queryOption":"useFilter", "where":edit_date_filter},
str(settings.CONDITION_IDX):{
"queryOption":"useFilter", "where":edit_date_filter}
},
geometry_filter=None,
replica_sr=None,
transport_type='esriTransportTypeUrl',
return_attachments=True,
return_attachments_databy_url=False,
asynchronous=True,
attachments_sync_direction='bidirectional',
sync_model='none',
data_format="filegdb",
replica_options=None,
wait=False,
out_path=settings.DOWNLOAD_DIR,
sync_direction=None,
target_type='client') Just for good measure, i'm including this 'direct request' against the createReplicas endpoint. the results are the same. a perfectly fine, but empty, file geodatabase..... url = f"{feat_srvc.url}/createReplica"
data = {
'f': 'json',
'replicaName': 'test_direct4',
'layers': '[0,1]',
'layerQueries': '{"0": {"where": "1=1", "useGeometry": false, "includeRelated": true, "queryOption": "useFilter"}, "1": {"where": "1=1", "useGeometry": false, "includeRelated": true, "queryOption": "useFilter"}}',
'geometryType': 'esriGeometryPoint',
'returnAttachments': 'false',
'syncModel': 'none',
'syncDirection': 'bidirectional',
'dataFormat': 'filegdb',
'async': 'false',
'token': agol_security_token._con.token
}
response = requests.post(url, data=data)
print(response.json())
dl_url = response.json().get('responseUrl')
resp = requests.get(url=dl_url, params={'token': agol_security_token._con.token})
zipped = zipfile.ZipFile(io.BytesIO(resp.content))
... View more
a week ago
|
0
|
0
|
229
|
|
POST
|
Hi there. I have a python script that attempts to export a hosted feature service as a file geodatabase using the python api's featurelayercollection.replicas.create() method. I am running python 3.11.10 and arcgis api 2.3.0 The service details: - One feature layer (id: 0, geometry type: point) with attachments - One related table (id: 1) with attachments - Sync is enabled - supportsSyncModelNone = true The problem: the replicas.create() operation consistently returns a file geodatabase with the correct schema but 0 rows in all tables, regardless of parameters used. What works: Using the AGOL Item Details page to Export as file geodatabase. A direct query on layer 0 returns the expected 27 records Running createReplica manually via the REST Services Directory HTML form returns the expected number of records What I've have tried (all returning 0 rows): syncModel=none with no geometry filter syncModel=none with geometry set to the service's full extent Adding layerQueries with where=1=1, useGeometry=false, includeRelated=true, queryOption=useFilter for both layers syncDirection=bidirectional geometryType=esriGeometryPoint async=true and async=false layers as comma-separated string (0,1) and as JSON array ([0,1]) using an empty querylayers using a populated queryLayers with filter set to 1=1 Any thoughts on how to get the expected number of records returned?
... View more
2 weeks ago
|
1
|
6
|
530
|
|
IDEA
|
Hello. I would like more fine grained control over the places where a Theme color is used. For example, currently the Body Link Color is applied to several disparate, unrelated controls or widgets (see the red items in the screen cap): the editor toolbar, focus color on various buttons and inputs. Ideally, there'd be multiple settings controlling those colors. Or perhaps some other way to more easily control the colors via css - without having to use `!important` in multiple places or over-writing Hub's default css rules. Thank you.
... View more
04-14-2026
03:22 PM
|
8
|
1
|
443
|
|
POST
|
This issue has been associated with a specific BUG report: From ESRI: BUG-000181789 has been associated with your account. Description: In ArcGIS Hub, using keyboard navigation, the focus remains in the footer when opening a new page that is linked in the footer instead of jumping to the top of the newly opened page.
... View more
01-29-2026
09:41 AM
|
0
|
0
|
555
|
|
POST
|
Hello. I am getting a 404 error message displayed in Dev Tools console whenever i load a hub page for my site. The message appears twice. https://hub.arcgis.com/api/discussions/v2/settings/eaad7f2ffb454166ae14d95d02c901b2 404 (Not Found) Is this one of my files/items that Hub is looking for, or is this a Hub file? Thank you.
... View more
01-26-2026
10:38 AM
|
0
|
0
|
383
|
|
POST
|
@VenkataKondepati thank you for the info. I have submitted a bug report with Esri Technical Support.
... View more
01-05-2026
10:04 AM
|
2
|
0
|
762
|
|
POST
|
Hi there. I don't know if this is a new thing, but it is something that several of our users have noted and started to complain about recently. We have a collection of 'catalog cards' on our Hub home page. If a user clicks on a Category icon (any category icon), the app navigates to the `/search` page as expected, but the page is scrolled all the way to the bottom so that only the page footer is visible. I can scroll back up to the top - but that's at frustrating user experience. Perhaps interestingly, if one 'reloads' the `/search' page, the reloaded page is focused at the top of the page as expected. I appreciate any suggestions about why this might be happening and whether the behaviour can be fixed. Thank you.
... View more
01-02-2026
05:11 PM
|
0
|
3
|
887
|
|
POST
|
@TimJordan1 At this point the best Esri tech support is offering is that we just need to update our servers' operating systems. Would it be that simple. While i agree that is clearly the best long term approach, it's not helpful for the short term. Have you heard anything from Esri or figured out anything helpful to resolve this issue?
... View more
09-30-2025
01:30 PM
|
1
|
1
|
875
|
|
POST
|
Hello. Within the last 36 hours or so from Sept 25, 2025, our AGOL hosted feature services (at least two of them) have started rejecting connections from our Web API. We are using oauth authentication, passing a client id and password to GetToken, then appending the token to subsequent requests to the feature services. The key pieces of the response back from the AGOL hosted service are "The SSL connection could not be established, see inner exception." and the inner exception "Authentication failed because the remote party sent a TLS alert: \u0027HandshakeFailure\u0027." This is true for multiple servers running Windows 2012 R2. However we have a couple of other servers running Windows 2022 and 2025 where the exact same code is able to connect successfully. I have verified that our Windows 2012 servers are using TLS 1.2. Those same servers are able to get Tokens from the GetToken endpoint but cannot connect to the Hosted Services. For at least the past 6 years prior, the API was happily connecting multiple times per day. This is a recent event. Any help is appreciated. Thank you
... View more
09-25-2025
07:37 PM
|
1
|
3
|
1101
|
|
POST
|
Hi @Neal_t_k I've wandered pretty far down the 'roll-my-own-report-with-python' path. It's probably too far to back out of that path now 😉 Thanks again for all your help.
... View more
08-22-2025
06:20 PM
|
0
|
0
|
2085
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 8 | 04-14-2026 03:22 PM | |
| 1 | 02-24-2021 12:15 PM | |
| 2 | 01-05-2026 10:04 AM | |
| 1 | 09-30-2025 01:30 PM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|