Hello Everyone,
I'm currently using ArcGIS Pro 2.8.2. I happened upon a script that was graciously shared by Jonah Lay to publish and overwrite web layers in Modelbuilder (see JonahLayCode.txt). I followed the directions for adding the script, creating the script tool, and adding to an existing model. The directional post from Jonah can be found here: https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-mod...
I've attached a screenshot that illustrates my model with the Publish Web Feature Layer section added (see AutoPublishOutagesScreenshot.png).
In running the model as it is illustrated in the above screenshot, I received the following error messages (see AutoPublishOutagesFailureScreenshot.png).
I am not a programmer. That we just establish. To that end, can someone please offer some kernels of wisdom on how I may succeed in using this script successfully given the errors I have encountered? I'm sure it is something that I have not done properly given the indicated messages.
Thank you one and all in advance.
JD