1

What you're describing, while pretty straightforward, simply isn't possible in the standard AGOL Map Viewer. The web web doesn't have capabilities for inter-layer actions like that. In a custom web map built with the Arcgis JavaScript API, it would be simple, but probably involves more coding than you're looking for. If you want an off-the-shelf option that ...


1

You can use the format() method to include specific values inside your strings. Furthermore, I think the field name does not have to be inside quotes but I may be wrong. You could write the following inside your for loop: for row in cursor: fid = row[0].zfill(4) query = '''FID_{}_T <> -1 AND FID_{}_L <> - 1'''.format(fid, fid) arcpy....


Only top voted, non community-wiki answers of a minimum length are eligible