What is the equivalent of
aprx = arcpy.mp.ArcGISProject("CURRENT")
in ArcGIS Online? I am creating a tool within an app. I would like to refer back to the map and what is selected. How do I refer to the current screen in the app?
I think our questions may be a little different. You may find the "listLayers" section of this site useful: https://pro.arcgis.com/en/pro-app/2.8/arcpy/mapping/map-class.htm
I am uploading the tool from ArcPro into an app created with Web AppBuilder.
I have the same question...working on a python geoprocessing tool and need to look at what layers are loaded in the current web map.
Are you using Web AppBuilder or writing a custom app with the ArcGIS API for JavaScript?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.