Share CRF as Web Layer

300
1
03-15-2022 02:07 PM
MichaelWen_Timmons
New Contributor III

I am trying to automate the process of publishing an Image Service to Image Server. 

Manually I would update a CRF file, then right click from the Catalog and Share as a Web Layer. I tried using arcpy.mp.CreateWebLayerSDDraft but got a non-descriptive error. Can the process of publishing Image Services be automated? If so then am I on the right track with the CreateWebLayerSDDraft  - StageService - UploadServiceDefinition workflow?

0 Kudos
1 Reply
DonMorrison1
Occasional Contributor III

Yes it can be automated and you are on the right track, but please post your code. 

0 Kudos