GP Tool widget ignores selected features

10-28-2022 02:49 PM
MVP Esteemed Contributor

I thought I had posted this but cannot find it.

The GP Tool widget in a web app completely ignores this Use Selected checkbox.


Other selection tools like the polygon right there to the right work with my code fine.  But maybe it is somehow different?  Seems like this would have been caught by now.  I did try wrapping in a MakeFeatureLayer.

indLayer = arcpy.GetParameterAsText(0)

terrapkList = [row[0] for row in arcpy.da.SearchCursor(indLayer, ["PrimaryKey"], "ProjectName <> 'LMF'")]

Thanks a lot


0 Kudos
0 Replies