Is there a way to loop through layers in an SDE and publish using share a web layer, so each layer is shared to the web individually rather than as a web map? The layers in the SDE are used on the same map. I would like to use Python within the ArcPRO window if possible. I am still in the early stages of learning python. Any help would be great.
Thanks,
I'm not sure about Python, but you can publish in bulk through Portal:
https://enterprise.arcgis.com/en/portal/10.9.1/use/bulk-publish-arcgis-server-feature-layers.htm