"Overwrite Web Layer" tool in Model builder

2031
3
03-31-2020 11:28 AM
StephenGrassia3
New Contributor II

Is there currently a way to incorporate the "overwrite web layer" tool into Model Builder in ArcPro?

3 Replies
DuncanHornby
MVP Notable Contributor

Does Replace Web Layer help?

0 Kudos
JonahLay
Esri Contributor

Hi Stephen,

Just to add to Duncan's response, there is no way to incorporate Overwrite Web Layer into ModelBuilder because it isn't a tool unlike the Replace Web Layer Geoprocessing tool. If you would like to add the Overwrite Web Layer feature into ModelBuilder, the best way would be to create a script tool. The following may help you get started: https://community.esri.com/thread/216491-automate-overwrite-web-layer-feature-class 

Best,

Jonah

JaredTaylor
New Contributor III

Hi Steven,

I am working on something very simialar.  Here is a newer post that gives a python script tool you can download and drop in to model builder.  It also has documentation on how to create the tool yourself so you can customize it and build others.  Hope this helps!

https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-mod...

Jared