|
POST
|
Are you moving up in the workspace path too far? Try removing line 4.
... View more
10-05-2022
10:23 AM
|
0
|
1
|
8297
|
|
POST
|
After you close the popup, try highlight.remove() FeatureLayerView | API Reference | ArcGIS API for JavaScript 4.24 | ArcGIS Developers
... View more
09-26-2022
07:29 AM
|
0
|
1
|
1689
|
|
POST
|
I can't find a way to see what layer is "selected" in the contents of the map. You can only build a list of layers and have the user choose it in the script tool parameter. Then, as @Anonymous User mentioned, you can get the layer object chosen in the tool parameter using GetParameter().
... View more
09-22-2022
07:10 AM
|
1
|
0
|
4269
|
|
POST
|
Does the traceback of the error mention what line the error occurs on? If so, please identify the matching line in the code snippet you posted.
... View more
09-19-2022
07:23 AM
|
0
|
1
|
3370
|
|
POST
|
Attribute Rules in ArcGIS Pro is the best solution here. I will add that you can write a Python script that to perform the calculate field operation on your data and schedule it to run as a task. So every night, or even every hour, the script could run to calculate the values.
... View more
09-16-2022
07:16 AM
|
2
|
0
|
1442
|
|
POST
|
There's a feedback option at the bottom of all documentation pages. I already submitted my feedback on this, but you're welcome to submit your feedback too.
... View more
09-14-2022
09:12 AM
|
0
|
0
|
2272
|
|
POST
|
That documentation is referring to the legacy cursor, but your code sample is using the new "data access" cursor. I'm surprised the legacy cursor documentation isn't more clearly identified here. The new "da" cursors returns the row data as a Python tuple (instead of a row object), which only has the methods built in for a tuple. To access data in a particular field, use the index of the field. with arcpy.da.SearchCursor(in_table="Crashes_in_DC",
field_names=["Tot_PedBik"]) as cursor:
for row in cursor:
print(row[0]) Here, it's using index 0 because that's the index of Tot_PedBik in the field_names parameter (which should be a list, even with one field).
... View more
09-14-2022
07:59 AM
|
2
|
1
|
2291
|
|
POST
|
Here's the documentation I found on the Calculate Prediction Zones tool: Crime Analysis Tool Reference—ArcGIS Solutions | Documentation There's also an Esri Blog article on the Crime Analysis toolbox so you could try contacting the authors of that for more information. John Beck, Director, Law Enforcement Solutions, [email protected] Chris Delaney, Product Owner, Law Enforcement Solutions, [email protected] You could also try posting in the Public Safety space.
... View more
09-07-2022
07:31 AM
|
0
|
1
|
1928
|
|
POST
|
Just yesterday I had to append data from our test environment to production and had to redo all the relationships because the GlobalID values were changed. I had no idea this setting existed.
... View more
08-11-2022
07:19 AM
|
0
|
0
|
3494
|
|
POST
|
Use the GUI? You can script calculate field with Python.
... View more
07-22-2022
07:24 AM
|
0
|
0
|
6818
|
|
POST
|
I know you were able to find a solution, but a couple things I want to mention: If you're only working in a file geodatabase (not a versioned feature class in an enterprise geodatabase) then I don't think you need to start and stop an edit session. You open the update cursors with a where clause, and then check the values again the same way as the where clause. It's redundant. An alternative experiment to try instead of using the update cursors: make a feature layer with the same where clause and run calculate field. EDIT: I just noticed @DonMorrison1 already mentioned using calculate field.
... View more
07-21-2022
10:54 AM
|
0
|
2
|
6855
|
|
POST
|
Are you using Web AppBuilder or writing a custom app with the ArcGIS API for JavaScript?
... View more
07-08-2022
02:19 PM
|
0
|
1
|
1503
|
|
POST
|
It seems others are struggling with this as well. Has anyone successfully attached the VSCode Debugg... - Esri Community Although it's referring to ArcMap, you could try this. How to Debug Python Toolboxes in 3 Easy Steps (esri.com)
... View more
06-20-2022
07:21 AM
|
1
|
3
|
2161
|
|
POST
|
You'll have to post a snippet of your code so we can see it in context.
... View more
06-15-2022
07:17 AM
|
0
|
0
|
1439
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-23-2025 03:53 PM | |
| 1 | 04-28-2026 07:25 AM | |
| 1 | 03-19-2026 08:59 AM | |
| 1 | 02-12-2026 01:37 PM | |
| 1 | 12-01-2025 06:19 AM |