Bug
| Bug ID Number | BUG-000124933 |
|---|---|
| Submitted | September 3, 2019 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS GIS Server |
| Version found | 10.6.1 |
| Operating System | N/A |
| Operating System Version | N/A |
| Status | Will Not Be Addressed |
There are two workarounds:
1. For SelectLayerByLocation, don not use the tool directly, make a script tool with the following code (You have to include copyfeatures):
import arcpy
import os
layer1= arcpy.GetParameterAsText(0)
layer2= arcpy.GetParameterAsText(1)
outfc= arcpy.GetParameterAsText(2)
arcpy.management.SelectLayerByLocation(layer1, "INTERSECT", layer2, "", "NEW_SELECTION")
arcpy.CopyFeatures_management(layer1, outfc)
2. Upgrade ArcGIS Pro and ArcGIS Enterprise to 2.4 and 10.7 respectively
Bug ID: BUG-000124933
Software:
Get help from ArcGIS experts
Download the Esri Support App