Select to view content in your preferred language

"Overwrite Web Layer" tool in Model builder

2492
3
03-31-2020 11:28 AM
StephenGrassia3
Emerging Contributor

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
Occasional Contributor

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