Hi,
Please adjust the item_id parameter of the arcgis.gis.server.Server.publish_sd function to support a dictionary of service_type:item_id the same way the new "Output Item IDs" is working in ArcGIS Pro's 3.5 Upload Service Definition tool.
We not only need to set the item ID of the item to be published, but also for all the other item types published at the same time:
- Web feature layer
- Web tile layer
- Map image layer
- OGC feature layer
- WMS
- WFS
See this idea for more information.
Thanks!